UE3 talk:UTFamilyInfo (UDK): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Created page with 'What is "BaseTranslationOffset" for? ~~~~~'
 
No edit summary
 
Line 1: Line 1:
What is "BaseTranslationOffset" for? 18:24, 11 April 2010 (UTC)
What is "BaseTranslationOffset" for? 18:24, 11 April 2010 (UTC)
:A quick source code search reveals the following lines in different parts of the UTPawn class:
<uscript>
var float BaseTranslationOffset;
BaseTranslationOffset = CurrFamilyInfo.Default.BaseTranslationOffset;
Mesh.SetTranslation(vect(0,0,1) * BaseTranslationOffset);
</uscript>
In UT3 the values are 7.0 (default), 6.0 (Necris male), 2.0 (Krall) and 14.0 (Liandri bots). The value basically correcty inaccuracies in the various player models' vertical foot offsets. —[[User:Wormbo|Wormbo]] 20:43, 11 April 2010 (UTC)

Latest revision as of 13:43, 11 April 2010

What is "BaseTranslationOffset" for? 18:24, 11 April 2010 (UTC)

A quick source code search reveals the following lines in different parts of the UTPawn class:

<uscript> var float BaseTranslationOffset;

BaseTranslationOffset = CurrFamilyInfo.Default.BaseTranslationOffset;

Mesh.SetTranslation(vect(0,0,1) * BaseTranslationOffset); </uscript> In UT3 the values are 7.0 (default), 6.0 (Necris male), 2.0 (Krall) and 14.0 (Liandri bots). The value basically correcty inaccuracies in the various player models' vertical foot offsets. —Wormbo 20:43, 11 April 2010 (UTC)