Collision

On Trigger Enter

Detects when the input collider enters the bounds of a trigger.

On Trigger Stay node

Inputs:

Name
Type
Description

Collider

Collider

The collider to monitor for collisions.

Outputs:

Name
Type
Description

Exit

Flow

Activates a flow when the collision starts.

Trigger Collider

Collider

Reference to the collider that the input collided with.

On Trigger Exit

Detects when the input collider leaves the bounds of a trigger.

On Trigger Exit node

Inputs:

Name
Type
Description

Collider

Collider

The collider to monitor for collisions.

Outputs:

Name
Type
Description

Exit

Flow

Activates a flow when the collision stops.

Trigger Collider

Collider

Reference to the collider that the input collided with.

after

On Collision Enter

Detects when a collision with the input collider starts. A flow is initiated once when the collision starts, but information about the collision is available through the outputs at any time after the collision is detected.

On Collision Enter node

Inputs:

Name
Type
Description

Collider

Collider

The collider to monitor for collisions.

Outputs:

Name
Type
Description

Exit

Flow

Initiates a flow when a collision starts.

Game Object Hit

Game Object

Reference to the game object that the input collided with.

Rigidbody Hit

Rigidbody

Reference to the rigidbody that the input collided with.

Collider Hit

Collider

Reference to the collider that the input collided with.

Collision Point

Vector3

X, Y, Z coordinates of the collision point.

On Collision Exit

Detects when a collision with the input collider stops. A flow is initiated once when the collision stops, but information about the collision is available through the outputs at any time after the collision stops.

On Collision Exit node

Inputs:

Name
Type
Description

Collider

Collider

The collider to monitor for collisions.

Outputs:

Name
Type
Description

Exit

Flow

Initiates a flow when a collision stops.

Game Object Hit

Game Object

Reference to the game object that the input collided with.

Rigidbody Hit

Rigidbody

Reference to the rigidbody that the input collided with.

Collider Hit

Collider

Reference to the collider that the input collided with.

Collision Point

Vector3

X, Y, Z coordinates of the collision point.

On Collision Stay

Detects when a collision with the input collider is occurring. A flow is initiated each frame while the collision is occurring. Information about the collision is available through the outputs at any time after the collision is detected, and are updated each frame during the collision.

On Collision Stay node

Inputs:

Name
Type
Description

Collider

Collider

The collider to monitor for collisions.

Outputs:

Name
Type
Description

Exit

Flow

Continuation of the activating flow.

Game Object Hit

Game Object

Reference to the game object that the input collided with.

Rigidbody Hit

Rigidbody

Reference to the rigidbody that the input collided with.

Collider Hit

Collider

Reference to the collider that the input collided with.

Collision Point

Vector3

X, Y, Z coordinates of the collision point.

On Trigger Stay

Detects when the input collider is overlapping a trigger.

On Trigger Enter node

Inputs:

Name
Type
Description

Collider

Collider

The collider to monitor for collisions.

Outputs:

Name
Type
Description

Exit

Flow

Activates a flow each frame that the collision is occurring.

Trigger Collider

Collider

Reference to the collider that the input collided with.

Last updated