Wikipedia's article on [ame=http://en.wikipedia.org/wiki/Trilateration]trilateration[/ame] may be applicable (for equidistance use r1=r2=r3), but it does look fairly complex to do.
It must be possible with E2, but how would I calculate an XYZ point equidistant from 3 or more XYZ points?
Wikipedia's article on [ame=http://en.wikipedia.org/wiki/Trilateration]trilateration[/ame] may be applicable (for equidistance use r1=r2=r3), but it does look fairly complex to do.
I can wire anything directly into anything! I'm the Professor!
-Professor Hubert Farnsworth
It'd help a lot if you said what you're trying to accomplish. It's possible there are more efficient ways to do what you want.
If it's what Echo51 said then it's quite easy, just find the average point of 3 vectors.
AvgVec = (Vec1+Vec2+Vec3)/3
Yeah, but like I said it totally depends on what he wants it for. If he really wants a point equidistant from three other points, then this method only works if the triangle is equilateral. The other part that confuses me about the question is the "..or more". If you start using four or more points, it's possible that there'll be no point equidistant from all of them.
EDIT: what is it with the questions lately? Nobody wants to give the important details when they ask things, it's like they're trying to keep things secret. Guys, if you give a vague question you'll get a vague answer.
Last edited by Jimlad; 05-10-2009 at 07:55 AM.
Essentially I have 3 or more points in XYZ form. They could be noncoplanar, and are not all the same point.
What I'm trying to do is calculate the center of a group of objects in GMod.
You can probably just use the average of them, if it isnt very important that it is the same distamce from everyone.
I second thatOriginally Posted by l3ulletje
![]()
Bookmarks