Hi! I want to make a door that opens when the character approaches it.
When the character goes through the trigger then it will start to calculate the distance between the cha and the door and the door will open depending on the character location.
I hope I explained myself well :))
Is it showing multiple instances of a single door? Or are there multiple triggers and doors?
Am I correct in understanding you to mean that any time a character collides with a particular trigger, that trigger will activate a corresponding door?
In fact, you could have a situation where ALL the doors pull the distance value from this chart (you would save it as a variable), and use it accordingly, without having multiple triggers.
Thanks for the reply! Almost what i want.
I want the door to open in real time with the distance between the character and door. For example on my sketch I have 0 to 3 meters, if I go forward the door will open where I will be between 0 and 3 meters, if I go back the door will close just as it opened. If I stop, the door will stop too.
I made this animation because I’m bad at explaining :))