i was wondering if there is a way to stop the time or slow it down in-game to create a slowmotion or stopping it completely but not setting the whole game to pause.
Let’s say i have two sections: “A” and “B”. I can switch between them with my character, but while i’m playing in section “A”, everything what’s going on in section “B” has to stop or slowed down and vice versa with section “A”.
But all of it must happen in the same room/level without effecting what’s outside of section “A” and “B”.
Is this possible with blueprints or in the level blueprint?
You can set the global time and then specify a custom time for other actors (in my case I just did it for the player while everything else is slowed down, player runs at normal speed). You should be able to play with this to achieve what you are after.
Also, you can setup this to be dinamically calculated, so you can change in real time the GlobalTimeDilation and keep the player at the correct CustomDilation (because you need to counteract the GlobalTimeDilation).
This is not true, however, if you unlink Delta Time from your camera movement set-up. Where the Delta time value would go, I’ve found a value of 0.01 works for me.
Exactly what I was gonna say too…
Also, for some reason, the Custom Time dilation only works for the Movement Component, not for all components. The Camera for example is still affected by global time dilation… not sure how to fix this yet.
I am a lesser experienced developer just starting out and need to do something similar only for affecting the walk speed of the enemy AI for the project I’m working on. Does anyone have any pointers for a newer dev that has a rough time understanding Blueprints?