- Home /
Question by
grannygooz · Dec 18, 2016 at 12:16 PM ·
collisiongameobjectrigidbodycollidercharactercontroller
My Character controller is being push a little bit when i'm about the get the coins. How can i possibly detect collision and destroy the coins without actually getting affected by the colliding physics?
untitled.png
(41.2 kB)
Comment
Answer by hexagonius · Dec 18, 2016 at 12:30 PM
pickables ideally are not colliders. set the coins Colliders as trigger and use OnTriggerEnter instead of OnCollisionEnter