Download

AddActorworldoffset is not frame indepndent?

i limited the fps to 60 and boom everything broke. how do I make the movement of things frame independent? for example this code runs so much slower with a slower frame.
Annotation 2021-08-08 235454

It’s not the AddActor node that’s not frame independent, it’s tick.

Tick is once per frame, so if your frames are taking longer, there are less of them, so the add actor happens less times.

The standard way of compensating is multiplying by delta time:

Screenshot_1

15 is what I want to add, and 120 was the frame rate I was using when things were moving ok.

oh that makes sense thanks.

1 Like