UE3 talk:UTFamilyInfo (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 13:43, 11 April 2010 by Wormbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)