That is inertia based movement.
You can either use physics and thrusters (or add impulse)
Or you can calculate it all yourself. and apply results to change position.
For math stack overflow may be help:
That is inertia based movement.
You can either use physics and thrusters (or add impulse)
Or you can calculate it all yourself. and apply results to change position.
For math stack overflow may be help: