Intro to 3D Game Development

0 of 193 lessons complete (0%)

Scripting Part 3: Finishing the Game Loop

Swap to Trigger Collision

You don’t have access to this lesson

Please register or sign in to access the course content.

Our dig spots will work using triggers, which will let us run code specifically when a player enters an area. To do this, we need to change the type of collision that the entity is using.

  1. With the Dig Spot selected, open the Entity menu and find the Collision Volume section.
  2. In the Collider field, click the drop down arrow to change VOXELOBJECT to BOX.
  3. In the Response Type field, click the drop down arrow to change STATIC to TRIGGER.