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

Re: [Virtools] Flipping axis.



Title: Flipping axis.
 
if you don't want the flipping, as I understand from your question..
Try using a lookat BB to target the object towards te center frame, a keep at constant distance BB , to keep it in a spere..
and use a translate to translate the object over its axis . since it is rotating the translation wil rotate as well. keeping it moving in a sphere,
The keep at constant distance BB is to adjust for any possible inaccuracy's (i don't think its neccesary with the lookat at 100 percent)
 
and i think then it will nicely flip over the poles since it's just a local translate and not a rotation.. not quite sure.. but that's my penny...
 
otherwise its back to making exceptions and using math.. 
 
hope this helps.
 
Tomas Sala
tomas@littlechicken.nl

www.littlechicken.nl
----- Original Message -----
From: Kam Memarzia
To: Virtools-User-Group (E-mail)
Sent: Monday, November 05, 2001 5:46 PM
Subject: [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




Follow-Ups: References: