Roll-a-Ball: 6.4 Set the PickUp Colliders as triggers
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:

View on YouTube


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>