Re: Argh - vector problem
Fred
If your rotation is about the y axis, then you can do the dot product in the xz plane to find the angle of rotation
acos(dot([x',z'],[x,z])/(norm([x',z'])*norm([x,z]))
(I haven't worried about Matlab syntax too much here!
The general case is more complicated.
Also be careful, I think your rotation goes -10 degrees about y, make sure you have a right hand set.
Valerie
.
Relevant Pages
- Poincare Group Not Complete Yet, Overlooked Symmetries Of Lorentz/4+1 Spacetime
... brand new SOsymmetry. ... this new rotation (which may be called solid, or 3-d, angle rotation), ... Lorentz spacetime. ... (sci.physics.relativity) - Overlooked Symmetries From Solid Angle Rotation: SO(6)/SO(10) String Behavior from Lorentz/4+1 Space
... brand new SOsymmetry. ... this new rotation (which may be called solid, or 3-d, angle rotation), ... Lorentz spacetime. ... (sci.physics) - Overlooked Symmetries From Solid Angle Rotation: SO(6)/SO(10) String Behavior from Lorentz/4+1 Space
... brand new SOsymmetry. ... this new rotation (which may be called solid, or 3-d, angle rotation), ... Lorentz spacetime. ... (sci.physics.particle) - Re: Vector is to Point as ____ is to Angle?
... this is only true if the angle is assumed to be an absolute rotation. ... corresponds to the Z axis, allowing for ordinary rotation in this case). ... yes, MSVC is not very smart, it sees a struct and automatically uses "rep ... (comp.programming) - Re: dotproduct rotations
... So if you make the dot product of this vector with the target position, ... what i must do is find the plane that the rotation is in, ... axis i want to rotate around. ... the above code will not return a proper angle unless ... (microsoft.public.win32.programmer.directx.graphics) |
|