So how would I find the distance between two objects for a start off.
And then I would like to learn how to find the closest object instance.
Thanks for your time!
Printable View
So how would I find the distance between two objects for a start off.
And then I would like to learn how to find the closest object instance.
Thanks for your time!
Distance Formula:
SQR((X(“Obj1”)-X(“Obj2”))*(X(“Obj1”)-X(“Obj2”))+(Y(“Obj1”)-
Y(“Obj2”))*(Y(“Obj1”)-Y(“Obj2”)))
Marv
e.g. Pythagoras.
a²+b²=c².
Thanks nivram, really appreciated your help.
How do I use this, what code?
I've worked out how to use this, it's okay now thanks.
Glad you figured it out and good luck on your project.
Marv