All Questions
Tagged with euler-method java
1 question
6
votes
3
answers
7k
views
Why is my velocity decaying?
Programming in Java. Tinkering around with physics. My entities all have position and velocity. In the main loop, all I'm doing is applying gravity and bouncing off the edges, like so:
...