IsJoint()

Syntax

Result = IsJoint(#Joint)
Description
Tests if the given joint number is a valid and correctly initialized joint.

Parameters

#Joint The joint to test.

Return value

Nonzero if the joint is valid, zero otherwise.

Remarks

This function is bulletproof and may be used with any value. This is the correct way to ensure a joint is ready to use.

Supported OS

All

<- HingeJointMotorTarget() - Joint Index - PointJoint() ->