the legoman keeps walking even though he is meant to be standing still, how could i fix this, is this a math problem or animation? also where i click doent correctly respond to the correct frame could it be a problem with this
PHP Code:
frameNbr = Math.round(8+4*angle/Math.PI) % 8 - 1;
and how would i stop it from easing i have tried everything.
put a stop actionscript on the first frame of the animation and have the animation played only while he is moving, you can test for that with boolean variables for example...for example it loops while he is moving, while a boolean variable's value is set to true...when he reaches his destination, the boolean variable evaluates to false, stopping the animation.