View Single Post
Old 17th February 2011, 03:15 PM   #1
Junior Member
Join Date: Oct 2009
Posts: 10
Default Get/Set Camera Position From C++

How do I get the position of the 3D camera from the PlugIn interface? I want to programmatically generate screenshots at different positions and orientations.

I've tried ac_object_get_centre(ac_views_get_default_camera() ), and it gives the position of something, but it doesn't seem to change as I move the 3D view around.

Once I get the position, how can I move the camera? ac_camera_move_forward() doesn't seem to do anything either.
wegnif is offline   Reply With Quote