C4 Engine
C4 Engine API Documentation

Joint::GetFirstConnectedRigidBody

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