Struct b3PrismaticJointDef
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Allows body B to slide along the x axis of frame A without relative rotation.
Mirror of b3PrismaticJointDef.
public struct b3PrismaticJointDefInherited Members
Remarks
Also called a slider joint. The translation is zero when the two local frame origins coincide in world space.
Fields
- base
-
The shared joint fields.
- dampingRatio
-
The spring damping ratio. Non-dimensional.
- enableLimit
-
Whether the translation limit is enabled.
- enableMotor
-
Whether the motor is enabled.
- enableSpring
-
Whether the linear spring along the joint axis is enabled.
- hertz
-
The spring stiffness in cycles per second.
- lowerTranslation
-
The lower translation limit.
- maxMotorForce
-
The maximum motor force, usually in newtons.
- motorSpeed
-
The desired motor speed, usually in metres per second.
- targetTranslation
-
The translation the spring drives towards, in metres.
- upperTranslation
-
The upper translation limit.