🎯Collider

is an Entity Component

Collider works by tracking whether or not anything is currently touching the object. It can track both players and other entities.

Collider is a super diverse component, but very easy to use. It's one that will create links that operate 'behind the scenes' to create logic, and is less visually obvious than, say, Mover or Rotator.

It is different to Collision Toggler.

  • Enabled - dictates whether or not the object is tracking for contact/collision

  • Trigger on every instance - dictates whether or not it tracks every single time it is touched, or just once

  • Detect Players - dictates whether or not it will respond to being touched by a player

  • Detect Voxels - dictates whether or not it will respond to being touched by another entity

Common uses

  • Activator for events - when a player touches the object, a door can open; when they stop touching it, a wall explodes, etc. etc.

  • Destruction - when two entities collide, they blow up on contact

Last updated