C4 Engine
C4 Engine API Documentation

Joint::GetSecondConnectedRigidBody

Defined in:  C4Joints.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