Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
This returns whether the object is a trigger or not.
returns a Boolean (true or false) value
More about Triggers and Colliders
Artspark supports two forms of collider shapes: Colliders and Triggers.
Colliders
Colliders are solid and any object obeying the physics engine will automatically be pushed away by them. These are best used for real objects in the play space.
Triggers
Triggers are not solid and can freely pass through all objects. They are best used for detecting objects entering a “zone” or if two objects are about to make contact.