SetJointAttribute()

Syntax

SetJointAttribute(#Joint, Attribute, Value [, Axis])
Description
Set the specified attribute value of the given joint and its associated entities.

Parameters

#Joint The joint to use.
Attribute The attribute to set.
Value Value of the attribute to set.
Axis (optional) The Axis to use to set the attribute. Only supported by GenericJoint(), the axis are indexed as following:
  0, 1 and 2: translation axis (x, y, z)
  3, 4 and 5: rotation axis (x, y, z)

Return value

None.

Remarks

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

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

See Also

GetJointAttribute()

Supported OS

All

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