How does a collision engine work?
- by JXPheonix
Original question: Click me
How exactly does a collision engine work?
This is an extremely broad question. What code keeps things bouncing against each other, what code makes the player walk into a wall instead of walk through the wall? How does the code constantly refresh the players position and objects position to keep gravity and collision…