PrismaticJoint QML Type
A prismatic joint More...
Import Statement: | import Bacon2D 1.0 |
Inherits: |
Properties
- enableLimit : bool
- enableMotor : bool
- localAnchorA : QPointF
- localAnchorB : QPointF
- localAxisA : QPointF
- lowerTranslation : float
- maxMotorTorque : float
- motorSpeed : float
- referenceAngle : float
- upperTranslation : float
Methods
- float getJointSpeed()
- float getJointTranslation()
Detailed Description
This joint provides one degree of freedom: translation along an axis fixed in bodyA. Relative rotation is prevented. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction.
Property Documentation
This property holds The maximum motor torque used to achieve the desired motor speed.
This property holds the bodyB angle minus bodyA angle in the reference state (radians).