Proximity Detection of an Obejct
Posted: Fri Feb 06, 2015 12:42 pm
Hi, i am trying to do prox detection
Example: i have a character that moves and there is a tree within 500 pixels then i use isDown("q") and it uses detection, and the closest tree near will start to be chopped(the character x/y will change and he will move near the tree). The chop class called chop_tree() i have the animation and everything in there, so all i need is to know how to use proxy closest object.
Thanks
Example: i have a character that moves and there is a tree within 500 pixels then i use isDown("q") and it uses detection, and the closest tree near will start to be chopped(the character x/y will change and he will move near the tree). The chop class called chop_tree() i have the animation and everything in there, so all i need is to know how to use proxy closest object.
Thanks