Rotate to position problem

MarkOnTheIronMarkOnTheIron Member Posts: 1,447
edited November -1 in Tech Support
I have an actor that should rotate facing the direction of the touch on the screen.
I thought that with the Rotate to Position behavior it should have been easy. But I ran into some problems: when i touch the screen for the first time the actor rotate facing the touch and moves toward it, then I touch the screen a second time and the actor moves again toward the touch but this time without rotating, the third times it moves and rotate, the fourth it only moves and so on.

Why is this happening?

Here is the attribute I'm using:
image

The touch x and y positions are detected from another actor that sits outside the screen

Comments

Sign In or Register to comment.