On collision pick

HELLO, i want to make my Coin pickable, it has collision and rigidbody component, it also have script when the player hit the coin it will be destroyed, but i need to know how to make my player be able to walk through the coin, because now when i hit the coin it will stop my player like its a solid material. And it should smootly walk through the coin and destroy it

I think you have to remove the rigidbody component from the coin and use the collider as a trigger. Therefore you have to modify the script.

https://developer.playcanvas.com/en/user-manual/physics/trigger-volumes/

3 Likes

Thank you, it helped :slight_smile:

1 Like