Skip to content

Interactions and Collisions

Underpig edited this page May 24, 2020 · 1 revision

Interactions and Collisions

Collisions can be reproduced with the Interaction node. This guide covers all information on registering collisions and interactions with other objects.

Create a collision node

Interaction nodes have an input, for the object to register collisions, and a boolean output with the value of the collision. It can be used with any condition sockets.

  • Input: Object (Objective node)
  • Output: Interaction (Condition)

Objectives

Objective nodes provide an object socket for Interaction and Parent nodes. Their output contains the selected object.

  • Input: Object
  • Output: Object (Object)

Interaction Events

Interaction Event nodes are triggered upon any interaction or collision with any other object. Their output contains the object of the collision.

  • Output: Object (Object)

Colliders

Colliders take the form of bounding boxes, and are automatically generated with the use of any interaction or collision nodes.