A mobile entity is an entity that can have a velocity.
Create a new mobile entity
world |
an instance of EntityManager |
position |
an instance of RealVector2D |
radius |
radius in meters |
mass |
a number/float |
collisionType |
a symbol for the collision type /free, /mobile or /static |
velocity |
an instance of RealVector2D |
Integration of the position based on the velocity and the relevant forces.
Get or pass in a force. A RealVector2D