![]() |
• World Manager | ||||||||||||||
|
API Links
Developer Links
|
Node::SetNodeTransformDefined in:
Sets a node's local transform.
C4Node.hPrototype
Parameters
Description
The SetNodeTransform function sets a node's local transform. This transform represents the change in coordinates between a node's local coordinate system (object space) and the coordinate system of its immediate parent node.After the node transform has been set, the world transform returned by the Transformable::GetWorldTransform function is not valid until the node is updated. To cause a node to be updated, the UpdatableTree::Invalidate function should be called after altering its transform. The node will then be updated the next time the World Manager processes the scene containing it or when the UpdatableTree::Update function is explicitly called for the node.
Special Considerations
The SetNodeTransform function should not be called for any node under the control of the physics simulation through a RigidBodyController. Instead, the RigidBodyController::SetRigidBodyTransform function should be called.
See Also
|