DistanceJoint QML Type
Distance Joint More...
Import Statement: | import Bacon2D 1.0 |
Inherits: |
Properties
- dampingRatio : float
- frequencyHz : float
- length : float
- localAnchorA : QPointF
- localAnchorB : QPointF
Methods
- QPointF getReactionForce(float inv_dt)
- float getReactionTorque(float inv_dt)
Detailed Description
A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.
Property Documentation
This property holds the mass-spring-damper frequency in Hertz. A value of 0 disables softness.
This property holds the mass-spring-damper frequency in Hertz. A value of 0 disables softness.