public class MovementState extends LawState
| Modifier and Type | Field and Description |
|---|---|
Vector |
acceleration
The acceleration.
|
Vector |
angularVelocity
The angular velocity.
|
Vector |
orientation
The orientation.
|
Vector |
position
The position.
|
Vector |
velocity
The velocity.
|
| Constructor and Description |
|---|
MovementState(int dimensions)
Instantiates a new movement state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy(MovementState newState)
Copy.
|
public Vector position
public Vector velocity
public Vector acceleration
public Vector orientation
public Vector angularVelocity
public MovementState(int dimensions)
dimensions - the dimensionspublic void copy(MovementState newState)
newState - the new state