Collision
What it does
Collision changes a task when the selected item begins a collision. It is useful for a player hitting an object, a physics interaction, or a gameplay hazard.
Required item compatibility
Select an item whose Tasks panel offers Collision. The current runtime exposes it on compatible building cubes, nine-slice cubes, imported models, vehicles, collectible items, and guns. The item must have the physics setup needed to receive a collision.
Setup
- Select the item that should detect contact.
- Add Collision and connect it to a task transition.
- Add a visible effect on the destination state, such as showing an object, updating a value, or playing a sound.
Settings
Collision has no extra public settings beyond its task transition.
Tiny example
A falling ball collides with a target cube and changes Not Active → Completed. The Completed state shows a success sign and plays a sound.
Test and troubleshoot
- If it never fires, confirm that the selected item offers Collision and has the intended physics behavior.
- If it fires repeatedly, use task states to make the result one-time, or add a reset path only when repeat behavior is intended.
- Use a Trigger Zone instead for detecting a player walking through an area.
