Rotate camera around object function?

Is there a function that locks onto an object so that the camera can rotate around it using the Transform Rotate Properties, basically the same functionality to "Aim (RMB)"?

One approach I was thinking was to just create a empty object parented inside the object and have the camera parented inside the empty object and use the DzNode::getXRotControl() (for example) to rotate the object. I feel like there is a better approach than this, if there is, will you be kind enough to share?

 

Thanks guys!

Comments

Sign In or Register to comment.