Changing the location of sprites at runtime without a performance hit on mobile?

Hi,

I am developing a BP-only, 2D mobile game and I want some objects(sprites) to move around in the level to achieve some dynamism. I set up a simple looping logic to do this using a Timeline node as the driver and an AddActorWorldOffset node to execute the movement all connected to the Event Tick node.

Although everything works fine on PC, I experience an unacceptable performance hit when I deploy the project to a mobile device. I am certain that the performance hit is caused by this movement logic. What I am looking for is a way to move my objects around without a performance hit.

Thanks!

Using SetWorldLocation and AddRelativeLocation nodes instead of AddActorWorldOffset node didn’t make a difference.

Have you tried deploying with out the movement to see if it is the source of your issues?

Yes, I did. When I unplug the event that starts this movement logic, everything looks great. So, the movement is the source.

I hope youre not hittinf the Timeline’s Play pin every Tick or something like that.