public class WheelJointDef extends JointDef
Modifier and Type | Field and Description |
---|---|
float |
dampingRatio
Suspension damping ratio, one indicates critical damping
|
boolean |
enableMotor
Enable/disable the joint motor.
|
float |
frequencyHz
Suspension frequency, zero indicates no suspension
|
Vec2 |
localAnchorA
The local anchor point relative to body1's origin.
|
Vec2 |
localAnchorB
The local anchor point relative to body2's origin.
|
Vec2 |
localAxisA
The local translation axis in body1.
|
float |
maxMotorTorque
The maximum motor torque, usually in N-m.
|
float |
motorSpeed
The desired motor speed in radians per second.
|
Constructor and Description |
---|
WheelJointDef() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Body b1,
Body b2,
Vec2 anchor,
Vec2 axis) |
public final Vec2 localAnchorA
public final Vec2 localAnchorB
public final Vec2 localAxisA
public boolean enableMotor
public float maxMotorTorque
public float motorSpeed
public float frequencyHz
public float dampingRatio
Copyright © 2017. All Rights Reserved.