AB4D Forum
Camera Movement - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9)
+--- Thread: Camera Movement (/showthread.php?tid=12)



Camera Movement - richardpruitt96 - 10-21-2009

Just bought the tools, and love the MouseCameraController to make it easy to zoom in and out. Is there any way to allow it to pan the scene or basically change the target position? Similar programs allow you to hold left and right buttons down to allow you to change the direction you are zooming to.

Or better yet you can zoom to the position of the mouse cursor, not the target position which is basically only allows you to move in and out as if you are looking only at a single object.

Thanks...


RE: Camera Movement - abenedik - 10-29-2009

I was also thinking of a way to move the scene camera around.

Currently this is possible with TargetPositionCamera with manually moving the TargetPosition - with subscribing to mouse down and mouse move events.

In the future version there will probably be a scene camera movement implemented but not in the first release.

(10-21-2009, 10:14 PM)richardpruitt96 Wrote: Just bought the tools, and love the MouseCameraController to make it easy to zoom in and out. Is there any way to allow it to pan the scene or basically change the target position? Similar programs allow you to hold left and right buttons down to allow you to change the direction you are zooming to.

Or better yet you can zoom to the position of the mouse cursor, not the target position which is basically only allows you to move in and out as if you are looking only at a single object.

Thanks...



RE: Camera Movement - richardpruitt96 - 11-16-2009

You were right, that fixed it. Only minor issue is that when storyboard was done it then reset values back to original. Simply fixed by adding handler to the completed event to set the values to the correct finished state.

Thanks again!