I am trying to use the Jitter physics engine, however, I can't get it to work correctly. For example, when I touch the side of a cube, it pushes me far back in the opposite direction. While I am flying back, if I hold the opposite directional key, I keep getting slower until I come to full stop.
Other times, I go right through the floor. I followed this tutorial.
I gave my floors BoxShapes
and a RigidBody
. I set them to static
so the rigidbodies won't move. I did the same in my Player
class but didn't set it to static.
How do I make it work correctly? If someone knows a better tutorial or physics engine I can use in C# with MonoGame/XNA, please let me know.