Facebook Twitter YouTube

Joint::GetSecondConnectedRigidBody

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

Node *GetSecondConnectedRigidBody(voidconst;

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

Joint::SetSecondConnectedRigidBody

Joint::GetFirstConnectedRigidBody

Joint::SetFirstConnectedRigidBody

Joint::BreakJoint