C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

RigidBodyController::SetRigidBodyPosition

Defined in:  C4Physics.h
Sets the node position for a rigid body.
Prototype

void SetRigidBodyPosition(const Point3D& position);

Parameters
position The new node position for the rigid body.
Description
The SetRigidBodyPosition function sets the node position for a rigid body. This function should be called instead of the Node::SetNodePosition function to change the node position for any node under the control of a RigidBodyController.
See Also

RigidBodyController::SetRigidBodyTransform

RigidBodyController::SetRigidBodyMatrix3D