Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 17th February 2011, 03:15 PM   #1
wegnif
Junior Member
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 05:50 AM.


AC3D Forum
(C) Inivis Limited 2020