vector to angle problem
![SkyMaple](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have a problem with an actor that has the vector to angle expression on it. what the expression is telling it to do is to rotate toward touch. When touch is released I have the actor move toward the touch. the problem is when I have the actor move lets say to the right I touch the screen and the angle is facing AWAY from the touch. How can I fix this?
Comments
It seems like the rotation is not taking into account the additional x locations.
Try Rotating to
game.Touches.Touch 1.X + scene.Camera.Origin.X
And the y equivalent.
The actor needs to be on the Scene Preview window to have access to the Scene attributes.
Hope this works
Cheers
Valan
YAY!