Defined in:Sets the second rigid body connected to a joint.
void SetSecondConnectedRigidBody(Node *node);
||The node representing the second rigid body.|
SetSecondConnectedRigidBodyfunction sets the second rigid body connected to a joint to the node specified by the
nodeparameter. This node must have a rigid body controller assigned to it in order to be affected by the joint.
If the first rigid body connector is
nullptr, then the second rigid body connector is ignored. When connecting only one node to a joint, the first rigid body connector should always be used.
The second rigid body connector is initially set to