3D Lingo Dictionary > T-Z > worldTransform

 

worldTransform

Syntax

member(whichMember).model(whichModel).bonesPlayer.bone[index].worldTransform

Description

3D bonesplayer property; allows you to get the world relative transform of a specific bone, as opposed to using the transform property which returns the bone's parent relative transform. The worldTransform property can only be used with bonesplayer modified models.

Example

This statement stores a bone's world relative transform in the variable finalTransform:

finalTransform = member("3D").model("biped").bonesPlayer.bone[3].worldTransform

See also

bone, getWorldTransform(), transform (property)