Quantcast
Viewing all articles
Browse latest Browse all 146

Realistic gravity

How can I implement realistic gravity to my 2D game? Let's say my player is rotating when I press space. When I let go of the space the player stops rotating instantly. How can I make the player still have the energy and stop rotating over time? Appreciate answers.

Viewing all articles
Browse latest Browse all 146

Trending Articles