AB4D Forum
Control ViewCube with button clicks? - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.DXEngine (https://forum.ab4d.com/forumdisplay.php?fid=11)
+--- Thread: Control ViewCube with button clicks? (/showthread.php?tid=4243)



Control ViewCube with button clicks? - Somanna - 03-02-2021

I want the view cube to rotate to front view when I click on a button. How do I do it?


RE: Control ViewCube with button clicks? - abenedik - 03-03-2021

Just set the Camera's Heading to 0 and Attitude to 0 - ViewCube is connected to the camera and each camera change also changes the orientation of ViewCube.