Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Advanced collision detection
Transcript of Advanced collision detection
One type of collision is the Hexagonal Collision Pattern as represented by the blue spots on the diagram to the right
There are a few problems with this type as it can cause glitching. If you examine the diagram you can see the gaps between the spots where a small collider in the level could fit into and brake the game making it less fun for the user.
Level collision is neded otherwise your character would just fall through the ground. You can use simple rectangles as your terrain, but this is bland and boring and gives no life to the game. This makes the collision boxes easy to impliment into the game.
Advanced Collision Detection
Another type of Collision Detection is Rectangular Detection, rather than your dots i explained before you have a more solid surface. The Detection is shown on the diagram to the left by the multicolored boxes. This is a better way of Colision Detection because, as you can see by the diagram there are no gaps like the previous diagram. This means there is less chance of your character getting stuck on the terrains collision boxes