Devlog 2
fixed a bug where it would randomly crash because the momentum overflows and cant be stored anymore.
There was also a strange issue where it kept slowing down and losing energy even with friction set to 0.
I fixed this by switching from eulers method to RK4.
I also added a nice trail that follows it around, centered it on the screen and adjusted the screen size.
Next up i need to add grabbing the pendulums so you can move them around and play around with them. And i need to add some text on screen showing all the velocities and stuff.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.