On Trigger, this trigger node is disable

Hi!
I make a 3D game and want to know how to to disable coin when player enter in coin’s trigger ?

1 Like

@iffanv @slackmoehrle

In trigger function: event.otherCollider.active=false

@flashorangenv
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.
onTrigger(event) {

    event.otherCollider.active = false;
    console.log("TriggerEnter");
}

@flashorangenv
And here is console image: