public interface IVehicle extends IUpdateable
Modifier and Type | Method and Description |
---|---|
void |
accelerate(float velocity) |
void |
addSteeringForce(Vector3 steering)
Add a new steering force
|
Vector3 |
getForward() |
Vector3 |
getInitForward() |
float |
getMass() |
float |
getMaxForce() |
float |
getMaxVelocity() |
Quaternion |
getOrientation() |
Vector3 |
getPosition() |
Vector3 |
getUp() |
Vector3 |
getVelocity() |
void |
resetSteeringForces()
Reset the accumulated steering forces
|
void |
setOrientation(Quaternion orientation) |
void |
translate(Vector3 position) |
isFinished, onUpdate
float getMass()
Vector3 getPosition()
Vector3 getVelocity()
float getMaxVelocity()
float getMaxForce()
Vector3 getForward()
Vector3 getInitForward()
Vector3 getUp()
Quaternion getOrientation()
void setOrientation(Quaternion orientation)
void accelerate(float velocity)
void translate(Vector3 position)
void resetSteeringForces()
void addSteeringForce(Vector3 steering)
steering
- The new steering force