Bacon2D

MotorJoint QML Type

Motor Joint More...

Import Statement: import Bacon2D 1.0
Inherits:

Joint

Properties

Detailed Description

A motor joint is used to control the relative motion between two bodies. A typical usage is to control the movement of a dynamic body with respect to the ground.

Property Documentation

angularOffset : float

This property holds the bodyB angle minus bodyA angle in radians.


correctionFactor : float

This property holds the position correction factor in the range [0,1].


linearOffset : float

The position of bodyB minus the position of bodyA, in bodyA's frame, in meters.


maxForce : float

This property holds The maximum motor force in N.


maxTorque : float

This property holds the maximum motor torque in N-m.