eulerjs API / @eulerjs/core / OrientationDrive
OrientationDrive
Defined in: packages/core/src/joints/SixDofJoint.ts:47
A drive that turns the moving frame toward an orientation relative to the base frame, about whichever axis takes it there (a slerp drive): the servo for ball joints, such as an active ragdoll's shoulders and hips. Stiffness and damping as for a JointDrive, in N·m/rad and N·m·s/rad, or frequency and dampingRatio.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
damping? | number | - | packages/core/src/joints/SixDofJoint.ts:51 |
dampingRatio? | number | - | packages/core/src/joints/SixDofJoint.ts:53 |
frequency? | number | - | packages/core/src/joints/SixDofJoint.ts:52 |
maxTorque? | number | The most torque it gives, in N·m. Defaults to Infinity. | packages/core/src/joints/SixDofJoint.ts:55 |
stiffness? | number | - | packages/core/src/joints/SixDofJoint.ts:50 |
target | Quaternion | The moving frame's orientation relative to the base frame to turn toward. | packages/core/src/joints/SixDofJoint.ts:49 |
