Joint::SetFirstConnectedRigidBody
Defined in:
Sets the first rigid body connected to a joint.
C4Joints.hPrototype
void SetFirstConnectedRigidBody(Node *node);
Parameters
node |
The node representing the first rigid body. |
Description
The SetFirstConnectedRigidBody function sets the first rigid body connected to a joint to the node specified by the node parameter. This node must have a rigid body controller assigned to it in order to be affected by the joint.The first rigid body connector is initially set to
nullptr.
See Also
Joint::GetFirstConnectedRigidBody
Joint::GetSecondConnectedRigidBody
