Unity Learn home
View Tutorial Content

Detecting Collisions with Collectibles

Tutorial
Beginner
+10 XP
15 Mins
(20897)
Overview
Live
Groups
Summary
In this tutorial, you’ll:
  • Revise your PlayerController script to make PickUpGameObjects disappear when they collide with the Player sphere
  • Tag PickUp GameObjects and write conditional statements to make sure they’re the only things that disappear
  • Set the Prefab PickUp Collider as a trigger and add a Rigidbody component, to make the collectibles work properly
Select your Unity version
Last updated: August 20, 2020
2020.2
2020.1
2019.4
2019.3
Language
English
Also included in
Detecting Collisions with Collectibles