An invisible 3D shape that detects when objects enter or exit a given region of space.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
A trigger volume is an entity that can participate in collisions because it has a
Collision. You use a trigger volume as a sensor that indicates when another collision-capable entity, like a
Model, enters the region of space occupied by the trigger volume. You can use the generated
Collision between the trigger volume and the other entity to trigger an action, like indicating to the user that a projectile hit its target.
The trigger volume itself is very simple. It lacks any physical appearance, and doesn’t participate in physics simulations. This makes it very efficient for tasks that require only collision detection.