Quantcast
Channel: Questions in topic: "realistic"
Viewing all articles
Browse latest Browse all 146

Realistic gravity

$
0
0
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


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>