Link a Collision Detector to an object to make stuff happen when things collide.
All objects belong to a colored object group. Check the groups of the objects that the Collision Detector should notice and make sure these are selected in the node's Trigger with Group setting.
If the node has no target, it will detect any collisions between any objects from the selected object group(s).
Target | Drag a link to an object that should react to collisions with other objects. If there is no target, the node will act as global Collision Detector |
Enabled | Enable or disable to node. Disabled nodes cannot be executed |
Disable After First | This setting will disable the node after the first detected collision |
Shared for Attached | If there are objects that have been attached to the parent object, these children will trigger the node as well. ⚠️ All glued objects will act like the parent object on any collision. |
Trigger With Group | The Collision Detector will notice collisions with objects that belong to selected groups |
On Collision Start | Sends a signal when a collision is detected. Outputs also the impact power (number), location of the collision (vector) & the collided object |
On Collision End | Sends a signal when a detected collision ends. Outputs also the collided object |
First Collision Start | If there are multiple detected collisions, this output sends a signal, the collision location (vector) & the collided object only for the first detected event |
All Collisions End | If there are multiple detected collisions, this output sends a signal and the last collided object when detected collisions end |
Here's a link to a demo that shows how to use the Collision Detector node: