Skip to main content
# 💡│doubt-solving5 people

trigger sound control

To stop a custom sound immediately when leaving a trigger zone, save the created entity to a component of 'any' type and destroy it on player leave.

  • A player wants a custom sound to play when entering a trigger and stop immediately when leaving it.
  • The suggested solution involves saving the created entity to a component and destroying that component when the player leaves the trigger.
  • When creating the component, its type should be set to 'any' instead of 'vector 3' (as might be used for checkpoints).
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App