Turret Randomly Rotate like he is Idling

Hey @Abdalah.Salameh!

So “AddLocalRotation” is being done every tick here, which is about 3 times a frame. :stuck_out_tongue:
So when you set your “Rotate Yaw”, tick says “Take this variable and apply it to the yaw 180x per second” then when it gets a new variable for “Rotate Yaw” it does the same just with the new variable of -5 to +5… 180x per second.

If you want to add a delay between turns, maybe add a boolean into “Rotate Head event”.
Say “bRotateGo” or something. Then you would use a NOT modifier to change it to opposite value every time rotate head runs.

After that put a branch in tick and check that variable, on false do nothing and on true, turn for the timer’s time.

If you would like to have it rotate slower, simply lower the range on your random float generator. :slight_smile:

1 Like