A detection component. Triggers by colliding with an object with one of the Color Groups specified by the Trigger With Group parameter.
Note: If the Collision Trigger is a node instead of attached to an object, it will act as a global Collision Trigger and work for all objects in the Hype.
Target | If target is set the node will detect collisions that happen to the target object. If target is not set, the Collision Trigger will act as global Collision Trigger. |
Enabled | Enables the component’s function. |
Disable After First | Sets Enabled -> Off once a valid collision happens. |
Shared for Glue |
Allows glued children objects to trigger the component's function. ⚠️ All glued objects will act like they are parent object on any collision. |
Trigger With Group | Collision Trigger will only work in objects that have Color Groups specified here. |
On Collision Start | Outputs location of the collision (vector) & the collided object |
On Collision End | Outputs the collided object |
First Collision Start | Outputs location of the collision (vector) & the collided object |
All Collisions End | Outputs the last collided object |
Creating a Finish Line
Includes using Collision Trigger & Game End components
Creating a Timer with Start/Finish Triggers and Leaderboard Entry
Includes using Collision Trigger, Timer, Text, Leaderboard & Game End components
Creating a Spawner Executed by Collision Trigger
Includes using Collision Trigger & Spawner
Creating a Conditional Game End
Includes using Collision Trigger, Compare & Game End
Executing Components based on Time or Collision
Covers using Collision Trigger & Timer to execute the same action, also includes Wave Generator, Transform & Text components
Here's a link to the hype that shows how to implement and use the Collision Trigger node: