still having trouble getting an actor to stop!
so I know the move to behaviour is a bit flakey (at best)
so I decided to re-tool a camera move on my DONK app by using accelerate towards
so I have my camera move actor that has the camera tied to it.
I then have a behaviour that when I click an arrow onscreen it sets a "gamescreen" attribute to say, 1.
When gamescreen = 1 I have it accelerating towards a point to the left.
Then to make it stop, I have a stopper actor. When the cameramove actor overlaps/colides with the stopper, I am telling it to set my self.linear.x and self.linear.y both to 0, and set the x and y of the camera move actor to (140x240)
In theory this should make the cameramove actor stop at 140x240 right???? or have I missunderstood something?
Anyways... it doesn't. The actor does indeed flick to 140x24. but it kinda moves left and right in a bouncy kind of way as though it were attached by elastic to the 140x240 point.
meh....fed up with it now
)
so I decided to re-tool a camera move on my DONK app by using accelerate towards
so I have my camera move actor that has the camera tied to it.
I then have a behaviour that when I click an arrow onscreen it sets a "gamescreen" attribute to say, 1.
When gamescreen = 1 I have it accelerating towards a point to the left.
Then to make it stop, I have a stopper actor. When the cameramove actor overlaps/colides with the stopper, I am telling it to set my self.linear.x and self.linear.y both to 0, and set the x and y of the camera move actor to (140x240)
In theory this should make the cameramove actor stop at 140x240 right???? or have I missunderstood something?
Anyways... it doesn't. The actor does indeed flick to 140x24. but it kinda moves left and right in a bouncy kind of way as though it were attached by elastic to the 140x240 point.
meh....fed up with it now

Comments
Try the Move behavior with speed 0 in a rule.
As you can read in the how to: http://gamesalad.com/wiki/how_tos:know_which_movement_to_use
'This behavior will override ALL other linear movement related behaviors and even gravity as long as it is active.'
Maybe it will work for you too :-p