Move behaviour - front of layer

drs997drs997 Member, PRO Posts: 27

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

  • SocksSocks London, UK.Member Posts: 12,822
    edited July 2014

    In the Move behaviour change "game speed" to a fixed value (rather than an attribute) and see if this solves the problem.

  • drs997drs997 Member, PRO Posts: 27

    @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....

  • drs997drs997 Member, PRO Posts: 27

    oh, I also created a brand new actor with nothing but the move behaviour. Same result.

Sign In or Register to comment.