C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

Joint::SetFirstRigidBodyConnector

Defined in:  C4Contacts.h
Sets the first rigid body connected to a joint.
Prototype

void SetFirstRigidBodyConnector(Node *node);

Parameters
node The node representing the first rigid body.
Description
The SetFirstRigidBodyConnector 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::GetFirstRigidBodyConnector

Joint::GetSecondRigidBodyConnector

Joint::SetSecondRigidBodyConnector