Move behaviour - front of layer
Hi Guys,
I have an endless runner style game. I have an actor that is moving from right to left at "game speed" to give the illusion of a stationary object.
I am using the Move behaviour. When the actor is spawned, If I change the layer order from "in front of actor" TO "front of layer", movement becomes a laggy (not smooth) and you can also see that the actor was spawned a fraction later than previous (when using in front of actor).
Any ideas what the problem is?
Many thanks
Comments
In the Move behaviour change "game speed" to a fixed value (rather than an attribute) and see if this solves the problem.
@Socks thanks for the reply. No, unfortunately it didnt help. I have stripped everything out of the actor incase something else was interfering, but same result. If i move the actor faster than "game speed" things look ok....
oh, I also created a brand new actor with nothing but the move behaviour. Same result.