PDA

View Full Version : set pose


sph
10-30-2005, 06:28 PM
ummm how to i set a pose with the camera???:confused:


kthnxbubye
:rolleyes:

pausch
10-31-2005, 12:50 PM
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, 02: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.