public class MotorJointDef extends JointDef
| Modifier and Type | Field and Description |
|---|---|
float |
angularOffset
The bodyB angle minus bodyA angle in radians.
|
float |
correctionFactor
Position correction factor in the range [0,1].
|
Vec2 |
linearOffset
Position of bodyB minus the position of bodyA, in bodyA's frame, in meters.
|
float |
maxForce
The maximum motor force in N.
|
float |
maxTorque
The maximum motor torque in N-m.
|
| Constructor and Description |
|---|
MotorJointDef() |
public final Vec2 linearOffset
public float angularOffset
public float maxForce
public float maxTorque
public float correctionFactor
Copyright © 2018. All rights reserved.