- Home /
Slow Time in Area
So, I want to decrease the timescale in a select area designated by the player. Everything else around it will move normally, but inside the circle, I want things to move slowly. Can I alter specific gameobjects' timescales in an area?
I could use Physics.OverlapSphere to get all objects in the area, I just don't know how (if) I can apply a slow to them without giving them all their own individual timescale variables.
You can't change an object's individual timescale. I'm afraid you'll have to write your own time-control engine for this.
You could create a collider box defining your area and with an if statement in all the update functions of all the objects concerned(...)you check if they are in and then apply a division to their movement speed. $$anonymous$$ake sure you divide also the gravity...so that sounds like a lot of work.