[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

RE: [Virtools] Flipping axis.



Title: Flipping axis.
hi,
The pb sounds like Gimble lock pb : one solution would be to use quaternions instead of euler angles to compose your rotations. To perform this, try "Set Quaternions orientation" to set your object direction, instead of more classical rotate BBs.
Hope this help,
Arnaud.
 

_____________________________________________________
Arnaud MUTHELET               SIM TEAM
arnaud@simteam.com            http://www.simteam.com

11 Boulevard Brune - 75014 PARIS - FRANCE
tel: 33.(0)1.45.45.15.55 - fax: 33.(0)1.45.45.16.17
_____________________________________________________
                        SIM TEAM
     un autre regard sur la realite virtuelle
_____________________________________________________

-----Message d'origine-----
De : owner-virtools-user-group@lists.theswapmeet.com [mailto:owner-virtools-user-group@lists.theswapmeet.com]De la part de Kam Memarzia
Envoyé : lundi 5 novembre 2001 17:46
À : Virtools-User-Group (E-mail)
Objet : [Virtools] Flipping axis.

Hi,

I've been hitting my head against this seemingly simple puzzle for some time & I wonder if there is a genius out there who can resolve it.

In the attached .cmo you'll find two 3dFrames (who at the moment are looking at each other.)

The effect I am after is that of a moving entity whose local oreintation is set such that its `Direction` is always pointing down towards the centre of the sphere.

The puzzle is how to resolve this direction without the Flipping effect at the poles.

So far I can not get past : "As the entity moves over each pole the other two axis flipp around".

See attached.

Thanks for your help.

Kam Memarzia




References: