Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   set pose (http://www.alice.org/community/showthread.php?t=84)

sph 10-30-2005 07:28 PM

set pose
 
ummm how to i set a pose with the camera???:confused:


kthnxbubye
:rolleyes:

pausch 10-31-2005 01:50 PM

setting a pose with the camera -> try dummy objects
 
If I understand you correctly, you're trying to name a location/orientation that a camera can then be returned to?

In that case, you don't want to pose the camera (which is a reasonable thing to have tried).

Instead, try using a "dummy object."

When you are adding objects, click on the "more controls >>" button.

THen you get a set of controsl, including "drop dummy at camera." That creates a "dummy object" called "Dummy." Then, in your code, you can say

camera.moveTo(Dummy)

Hope this helps!

-- Randy

gabe 10-31-2005 03:50 PM

Just adding on to what Randy has posted, to get the same camera point of view as when you dropped the dummy object, try using the camera.setpointofviewto(Dummy) method.


All times are GMT -5. The time now is 09:40 PM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.