I’m trying to trigger a function on “triggerleave” event on the “_teleporter-tv” entity but “triggerleave” event happens immediately after “triggerenter”, therefore it’s not possible to trigger at the right time.
Camera Offset entity contains capsule collision component and rigidbody so this is the object used for initiating the trigger, but somehow “triggerenter” and “triggerleave” events happen at the same time for all the teleporters in the scene.
OK so this happens because you disable the trigger inside the onTriggerEnter method. Which is equivalent to the body leaving the trigger as the trigger is no longer there when you disable it.