# Staggered Actor Movement

**URL:** <https://forums.unrealengine.com/t/staggered-actor-movement/454318>\
**Category:** Character & Animation\
**Tags:** actor, setactorlocation, unreal-engine, question\
**Created:** [August 23, 2019, 8:18pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318 "2019-08-23T20:18:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MC1RScorpion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MC1RScorpion](https://forums.unrealengine.com/u/MC1RScorpion)\
**Post date:** [August 23, 2019, 8:18pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318/1 "2019-08-23T20:18:39Z")

</div>

Hello,

I’m working on a game where objects move quickly from one side of the screen to the other Tetris style. For this I’m using a function on a timer that executes SetActorLocation with sweep enabled every 0.01 seconds.

I’m currently seeing a lot staggering in the movement of the actors despite maintaining 30FPS in PIE. I’ve tried enabling VSync via the console but see little difference with that so I think it’s an issue with how I’m moving the actors.

Any ideas on how to smooth out this movement would be appreciated.

Cheers.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2019, 1:52pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318/2 "2019-08-24T13:52:04Z")

</div>

Can you show your BP?

---

<div class="post-metadata">

**Author:** ![MC1RScorpion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MC1RScorpion](https://forums.unrealengine.com/u/MC1RScorpion)\
**Post date:** [August 24, 2019, 6:07pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318/3 "2019-08-24T18:07:40Z")

</div>

Here’s the timer calling the function and the function itself to translate and rotate the actor. The value of actor speed is -15 right now but I’ve tried different values as well as different timer intervals.

![285735-screen-shot-2019-08-24-at-30132-pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/7/a176cfa410590003c584c378c6d5322b7567e3a0.png)

 ![285736-screen-shot-2019-08-24-at-30323-pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/3/193adbedbebc79a3b29bbd21c938691e45a49568.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2019, 6:30pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318/4 "2019-08-24T18:30:19Z")

</div>

Well, if you’re running at 30fps, there’s no point in doing something 100 times per second, because the max you can do something is 30 time per second 😉

A better way would be with a timeline like this ( I left the rotation out for now ):

 ![285737-timeline.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/d/d2de013414912096a501ee31d71846c79f376432.jpeg)

Timelines run at frame speed, so you’ll always be as smooth as possible this way.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 24, 2019, 6:31pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318/5 "2019-08-24T18:31:17Z")

</div>

![285738-inside-timeline.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/b/5eb58d7dba5e33e194aad3ca839548c8c0839b75.jpeg)

---

<div class="post-metadata">

**Author:** ![MC1RScorpion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MC1RScorpion](https://forums.unrealengine.com/u/MC1RScorpion)\
**Post date:** [August 26, 2019, 2:39pm UTC](https://forums.unrealengine.com/t/staggered-actor-movement/454318/6 "2019-08-26T14:39:12Z")

</div>

Works for me! Thank so much for your help.
