Quantcast
Channel: Answers by "ReinaldoSantana"
Viewing all articles
Browse latest Browse all 4

Answer by ReinaldoSantana

$
0
0
You can add a collision box to your object and select the "Is trigger". In your "player" object you need add a rigidibody and a collision box and after, write one script to him. For example: void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "PickUpItem") { other.gameObject.SetActive(false); } }

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>