Collision

The Collision limit in MAGES NXT allows you to detects collisions between a chosen prefab and a designated Collider.

It serves as both an Error and an Objective option.

  • In the case of the Error if the target prefab and the collider collide, an Error is triggered.

  • In the case of the Objective if the target prefab and the collider collide, the Objective is considered failed.

Collision Limit Error and Objective Configuration

../../../_images/collision_window.png

The Collision limit contains the following configurable parameters:

Parameter Name

Explanation

Collision Type

Contains the values Enter and Exit. Defines if the Error or Objective will trigger when the collision is entered or exited.

Prefab

The prefab that shouldn’t hit the collider.

Collider

The collider that shouldn’t be hit by the target prefab.