What direction of rotation is used in vrrotvec function?

8 visualizzazioni (ultimi 30 giorni)
Is it right-handed or left-handed rotation in vrml functions such as vrrotvec?
I thaught VRML uses left-handed, but for example:
% rotating vector pointing UP to vector pointing LEFT
vr = vrrotvec([0 1 0], [-1 0 0]);
% returns:
0 0 1.0000 1.5708
So, here we see that rotation is righthanded? So in Matlab VRML we use right-handed rotation?

Risposta accettata

Jan Danek
Jan Danek il 25 Giu 2012
Hi Evgheny,
VRML uses right-handed convention for rotations. See also here:
In accord with this, utility functions provided in Simulink 3D Animation use also right-handed convention.
All the best,
Jan

Più risposte (0)

Categorie

Scopri di più su Simulation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by