GetJointAttribute()

Syntax

Result = GetJointAttribute(#Joint, Attribute)
Description
Get the specified attribute value of the given joint and its associated entities.

Parameters

#Joint The joint to use.
Attribute The attribute to get.

Return value

Returns the value of the specified attribute or 0 if the joint does not support the attribute.

Remarks

This function is available for all joints which support attributes. See the individual joint commands for the supported attributes:

- PointJoint()
- ConeTwistJoint()
- HingeJoint()
- SliderJoint()

See Also

SetJointAttribute()

Supported OS

All

<- GenericJoint() - Joint Index - HingeJoint() ->