Hey Everybody ![]()
Is it possible to make a trigger that only works once ?
Thanks for your time ![]()
Hey Everybody ![]()
Is it possible to make a trigger that only works once ?
Thanks for your time ![]()
You have to code it to do so. Make a bool to store if itโs been triggered or not and have your code only execute if it hasnโt yet been triggered.
Or, simply disable the collider component (or the containing gameObject) after itโs been triggered for the first time.
How would you be able to do that ?