Triggers
On Enter
Entry point: the chain wired to it runs when another object enters or overlaps this one.
On Enter
Out
Node image coming soon
Usage
The object needs a Physics component for collisions to be reported at all. Left alone the node fires on every collision; tick the layer checkbox and it fires only when the other object's Physics layer equals the number you give — the usual way to keep enemies, pickups and scenery apart.
On the node
only check collision on a certain layer
Off by default: fire on any collision.
layer
The other object's Physics layer to match. Physics.layer is an int on the Physics component and defaults to 0.
Outputs
| Type | Name | Description |
|---|---|---|
| flow | Out | Runs on the overlap. |