Twinbee
- 116
- 0
Hi all,
I'm trying to 'add' two angles in 3D spherical coords. The problem is easy enough in 2D polar coords. You just add Angle A to Angle B (both in the Z plane of course). However, there doesn't seem to be an easy 3D equivalent.
Let's use this example:
Point A is:
Rot x: 0 (degrees)
Rot z: 90
Radius: 1
Point B is:
Rot x: 90
Rot z: 0
Radius: 1
In cartesian format, these points A & B translate to 0,1,0 and 0,0,1 respectively.
How do I 'add' these angles together? Any solutions I've found seem to arrive at answer that is still at Point A or Point B, rather than a different position.
I'm trying to 'add' two angles in 3D spherical coords. The problem is easy enough in 2D polar coords. You just add Angle A to Angle B (both in the Z plane of course). However, there doesn't seem to be an easy 3D equivalent.
Let's use this example:
Point A is:
Rot x: 0 (degrees)
Rot z: 90
Radius: 1
Point B is:
Rot x: 90
Rot z: 0
Radius: 1
In cartesian format, these points A & B translate to 0,1,0 and 0,0,1 respectively.
How do I 'add' these angles together? Any solutions I've found seem to arrive at answer that is still at Point A or Point B, rather than a different position.
Last edited: