"Move To" Sometimes Sends Actors Flying Off Screen
My menu enters the screen by coming in from the side with a Move To behaviour, but sometimes the actor will just keep going.
Why is this? Obviously I can't release an app where this is a regular occurrence.
Why is this? Obviously I can't release an app where this is a regular occurrence.
Comments
cheers
I guess i'll give interpolate a go, though it'll make a couple of things I'm doing with the menu more annoying.
MetzoPaino: check you've got "Relative to" set to scene and not actor.
----------------------------------------------
http://davidgriffinapps.co.uk/
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
If you have 2 actor "A" and "B", and A follows B, it will get the position of B and move A with the angle it needs to reach B. When you move B it check again the position and Re make the Angle, but if you change A position it doesnt refresh and it will have the same angle that it had before you move it, this will result in the actor moving off the screen
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
It was the case when you use the Move To in an actor, which has to follow another one, (constraining x and y of th actor to a game attribute)
The move to makes an angle with the position of the 2 actors, this angle is the one that the actor will use to go to the position you want. If you change the actor position, the move to position will not refresh, and because of that , the angle wont refresh either causing the actor to move with the old angle, making him not moving to the desire position.
It doesnt matter, its not the case of Metzopaino
And even if it's not applicable to @MetzoPaino no worries again, at least you tried to help, which is the main thing.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
oh and i didnt care about the sarcastic comment so dont worry :P