Do Gameobjects have their own equivalent of Time.time? I could only find the global float of Time.time and not a singular gameobject’s Time.time. I’m trying to slow down all gameobjects within another gameobject’s collider and not slow down my game entirely. I have got some pseudocode of what I’m trying to create. Any help would be appreciated.
If its a rigidbody moving via forces that you want to slow down just increase the drag. Else if you move via transform you could try adding the speedModifier that when staying inside the trigger would be reduced to e.G 0.5 and when leaving the trigger would return to 1.0