Facebook Twitter YouTube

Joint::GetFirstConnectedRigidBody

Defined in:  TSJoints.h
Returns the first rigid body connected to a joint.
Prototype

Node *GetFirstConnectedRigidBody(voidconst;

Description
The GetFirstConnectedRigidBody function returns the first rigid body connected to a joint. If there is no first rigid body connected to the joint, then the return value is nullptr.
See Also

Joint::SetFirstConnectedRigidBody

Joint::GetSecondConnectedRigidBody

Joint::SetSecondConnectedRigidBody

Joint::BreakJoint