Triggers and Collisions
Learn how to employ triggers and collisions to boost interactivity of the AR experience.
Introduction
Triggers and collisions are two essential concepts in Unity that allow us to detect when objects in our game interact with each other. Both triggers and collisions can initiate an action or an event in our game, such as playing a sound effect or spawning an avatar.
Collisions
Collisions occur when two objects with colliders come into contact with each other. When a collision occurs, the physics engine in Unity calculates the forces and movements between the objects and applies them accordingly. This action allows us to create realistic physics interactions in our game.
Get hands-on with 1400+ tech skills courses.