cthulhu
July 7th, 2004, 07:13 PM
Can anyone here point me in the right direction for having a character walk around an object?
Attached is my best attempt after numerous tries.
I'm basically using hitTest on a bunch of little nodes that define my area the object should move around.
Each node tells the object to move a certain ammount until the object is clear of the nodes, and the object goes where I originally clicked. Problem is, my method sucks and the object gets stuck most of the time.
I'm trying for the functionality of a point-and-click graphic adventure game.
Thanks.
Attached is my best attempt after numerous tries.
I'm basically using hitTest on a bunch of little nodes that define my area the object should move around.
Each node tells the object to move a certain ammount until the object is clear of the nodes, and the object goes where I originally clicked. Problem is, my method sucks and the object gets stuck most of the time.
I'm trying for the functionality of a point-and-click graphic adventure game.
Thanks.