OBJECT_VISUAL_TRANSFORM_* Constant Group

From NWN Lexicon
Jump to navigationJump to search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

Dimensions that objects have visual transforms for. Used by GetObjectVisualTransform and SetObjectVisualTransform.

For the lerping constants see the OBJECT_VISUAL_TRANSFORM_LERP page.

These are all relative transformations so the facing of the object is taken into account - moving 5M "Y" is actually 5M directly in front of the given object.

Constants

Constant Value Transform Description
OBJECT_VISUAL_TRANSFORM_SCALE 10 Object Scale (in relative terms, eg 1.5 is 50% bigger, 0.5 is half size)
OBJECT_VISUAL_TRANSFORM_ROTATE_X 21 X-axis Rotation
OBJECT_VISUAL_TRANSFORM_ROTATE_Y 22 Y-axis Rotation
OBJECT_VISUAL_TRANSFORM_ROTATE_Z 23 Z-axis Rotation
OBJECT_VISUAL_TRANSFORM_TRANSLATE_X 31 X-axis Translation
OBJECT_VISUAL_TRANSFORM_TRANSLATE_Y 32 Y-axis Translation
OBJECT_VISUAL_TRANSFORM_TRANSLATE_Z 33 Z-axis Translation
OBJECT_VISUAL_TRANSFORM_ANIMATION_SPEED 40 Animation speed


See Also

functions: GetObjectVisualTransform(), SetObjectVisualTransform()



 author: Shadguy