Revolute Joint Def
Revolute joint definition.
A revolute joint forces two bodies to share a common anchor point (hinge). The relative rotation about the shared point is the joint angle. You can limit the relative rotation with a joint limit that specifies a lower and upper angle. You can use a motor to drive the relative rotation about the shared point.
Parameters
The first attached body
The second attached body
The local anchor point relative to bodyA's origin
The local anchor point relative to bodyB's origin
Constructors
Properties
Set this flag to true if the attached bodies should collide
The spring damping ratio, non-dimensional
Enable joint limits
Enable the joint motor
Enable a rotational spring on the revolute hinge axis
The lower angle for the joint limit in radians. Minimum of -0.99*pi radians.
The maximum motor torque, typically in newton-meters
The desired motor speed in radians per second
The bodyB angle minus bodyA angle in the reference state (radians). This defines the zero angle for the joint limits and servo target.
The target angle for the joint servo in radians. The joint will try to reach this angle when the motor is enabled. This defines the zero angle for the joint limit.
The upper angle for the joint limit in radians. Maximum of 0.99*pi radians.