I make a 3D game and want to know how to to disable coin when player enter in coin’s trigger ?
In trigger function: event.otherCollider.active=false
Thanks for your feedback, Really Appreciated.
It’s not working. The player enter in trigger, Trigger function also called but coin is not disable.
Here is my trigger function.
event.otherCollider.active = false; console.log("TriggerEnter"); }
And here is console image: