GetJointAttribute()

语法

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

参数

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

返回值

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()

参阅

SetJointAttribute()

已支持操作系统

所有

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