Roll-a-Ball: 6.1 Disable PickUps with OnTriggerEnter
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

For the full course on Unity learn to go: https://learn.unity.com/project/roll-a-ball

View on YouTube

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>