still having trouble getting an actor to stop!

SparkyidrSparkyidr Member Posts: 2,033
edited November -1 in Working with GS (Mac)
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 :o)

Comments

Sign In or Register to comment.