Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Flying Formation in 3D Space

1 view
Skip to first unread message

Idgarad

unread,
Aug 5, 2009, 2:03:01 PM8/5/09
to geometry-p...@moderators.isc.org
I am trying to figure out, given a distance and a position where any
two objects are releative to a standard formation. (think a school of
fish for instance)

Imagine a point in X,Y,Z space (me) and given a distance from me (say
1000 meters) and a pair of angles relative to me (say 45 degrees up
and relative to the direction I am facing 45 degrees to the right) how
can I calculate where the second object is in X,Y,Z space? Now given
that I am facing a direction that would also imply I need a second
"me" x,y,z corrdinate\offset for the direction I am look towards.

Lets assume for the moment I am at X=1465.34, Y=2525.21, and Z=73.51
and I want the second object to be 1000 meters from me 45� up and 45�
to my left. What then is the XYZ of the second object? Been too many
years since school and for the life of me cannot think\remember how to
do this....

Robert Hansen

unread,
Aug 5, 2009, 9:29:30 PM8/5/09
to app...@support1.mathforum.org
Assuming the coordinate system is like this...

http://en.wikipedia.org/wiki/File:Coord_system_CA_0.svg

And you are facing in the positive X direction.

Then the second point (x,y,z) will be...

x = 1465.24 + 1000 * cos(45) (FRONT = plus)

y = 2525.21 - 1000 * sin(45) (LEFT = minus)

z = 73.61 + 1000 * sin(45) (UP = plus)

0 new messages