actor stops moving after value is changed

mxs2649mxs2649 Member Posts: 32
edited April 2014 in Working with GS (Mac)

I have a rectangle actor move diagonally when the value of my "moved" boolean attribute is false. As soon as another actor touches that actor the moved attribute becomes true and the movement stops, the rectangle actor then moves 100 px down and after 0.07 seconds i am changing moved to false again but the rectangle does not starts movement again. I am setting the linear velocity x and y to -100 and 100 to make it move diagonally. and i am move it downwards using the moveTo rule. Please help.

Sign In or Register to comment.