ok, i’m having this problem where I want to make a movieclip that i am moving with they arrow pad STOP when it touches another movie clip, ok, thats easy, but how do I still make it move after words…for instance…_root.guy runs into _root.desk (desk is shaped like an L) how can he stop, but still move the other 3 ways…PLEASE HELP! THANK YOU!
use relative posititioning:
if guy._y < desk._y
if guy._x > desk._x
etc - adding lots of if’s everwhere
hmmm, ok i’ll try that
where should I put the coding into? timeline, guy movie clip or desk movie clip?
hmmm that doesn’t work, cause the hitTest way I’m using is…
this is placed inside the movieclip on the desk
onClipEvent(EnterFrame)
If(this.hitTest(_root.guy._x,_root.guy._y,true)
am I doing it right? what else do I put with that in order to make the object stop when it touches it, yet when I use the other 3 arrows it moves…I’m using that form of hitTest because I don’t want it to stop if it hits a bounding box, only if it hits the actual object…thanks