How to make a slow time effect on shift?

How to make a slow time effect on shift?

I’m trying to make a game where you fight clones, and you can hold shift to slow time for a certain amount of seconds to see how can you dodge it.

I tried changing the gravity on shift but it seems to work, but it’s not accurate, is it possible to accomplish that? I’ve been trying to make that effect work.

It also affects the player and the enemy.

You would have to rewrite the physics engine a little bit. Not impossible just tedious.

Basically move all of the parts on your own. You could make a loop or something that updates the positions of each part multiplied by x time then just slow down that x.

This type of effect is a little advanced but doable

Okay, thanks, I’ll try to make this effect happen.