C4 Engine
C4 Engine API Documentation

Node::SetNodePosition

Defined in:  C4Node.h
Sets a node's local position.
Prototype

void SetNodePosition(const Point3D& position);

Parameters
position The new local position.
Description
The SetNodePosition function sets a node's local position without affecting the rest of the node's transform. As with the Node::SetNodeTransform function, the world transform is not valid until the node is updated.
Special Considerations
The SetNodePosition function should not be called for any node under the control of the physics simulation through a RigidBodyController. Instead, the RigidBodyController::SetRigidBodyPosition function should be called.
See Also

Node::GetNodePosition

Node::SetNodeTransform

Node::SetNodeMatrix3D