DEV Community

Cover image for Collision Detection
Akshat Ramanathan
Akshat Ramanathan

Posted on

Collision Detection

This is a submission for the Web Game Challenge: One Byte Explainer

Explainer

Collision detection:
It is the process of determining when two or more objects intersect or come into contact. It ensures interactions like collisions, overlaps, or proximity events are handled, affecting gameplay like physics, damage, or movement blocking.

Additional Context

Every game engine has one or other form of physics engine responsible for managing such interactions. Games are highly interactive pieces of software. In order for such interactivity to be present, event driven principles like pub-sub or the observer pattern are often used to target and keep such physics related phenomenons in check!

This is an individual submission!

Thank you!

Top comments (0)