Link Search Menu Expand Document

PhysX Joint Driver

Creates a driver which exerts force to return the joint to the initial position with the given velocity characteristics. Can only be used on an entity with a physx-joint component. Currently only supports D6 joint type. Requires scene-options: physics.

PhysX Joint Driver Attributes

Attribute Type Default Description Required
axes array [] Which axes the joint should operate on. Should be some combination of x, y, z, twist, swing. No
stiffness number 1 How stiff the drive should be. No
damping number 1 Damping to apply to the drive. No
forceLimit number 3.4028234663852886e+38 Maximum amount of force used to get to the target position. No
useAcceleration boolean True If true, will operate directly on body acceleration rather than on force. No
linearVelocity vector3 {'x': 0, 'y': 0, 'z': 0} Target linear velocity relative to the joint. No
angularVelocity vector3 {'x': 0, 'y': 0, 'z': 0} Target angular velocity relative to the joint. No
lockOtherAxes boolean False If true, will automatically lock axes which are not being driven. No
slerpRotation boolean True If true, uses SLERP rotation mode. If false, will use SWING mode. No