Struct b3RevoluteJointDef
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Pins a point on body B to a point on body A, allowing relative rotation about
one axis. Mirror of b3RevoluteJointDef.
public struct b3RevoluteJointDefInherited Members
Remarks
Also called a hinge or pin joint.
Fields
- base
-
The shared joint fields.
- dampingRatio
-
The spring damping ratio. Non-dimensional.
- enableLimit
-
Whether the angle limit is enabled.
- enableMotor
-
Whether the motor is enabled.
- enableSpring
-
Whether the rotational spring on the hinge axis is enabled.
- hertz
-
The spring stiffness in cycles per second.
- lowerAngle
-
The lower angle limit in radians. At least minus 0.99 pi.
- maxMotorTorque
-
The maximum motor torque, usually in newton-metres.
- motorSpeed
-
The desired motor speed in radians per second.
- targetAngle
-
The angle of body B minus the angle of body A in the reference state, in radians. This defines the zero angle for the limit.
- upperAngle
-
The upper angle limit in radians. At most 0.99 pi.