
0
Rotate camera
This discussion was imported from CodePlex
solcruiser wrote at 2011-12-12 15:03:
Hi,
how can i rotate the camera in per code?
i can't find any methods for that in CameraController.
(or schould i use wpf's RotateTransform3D)
greetz chris
objo wrote at 2011-12-13 18:46:
you can use the "AddRotateForce" method - that's what the keyboard bindings are using.
If you need more custom rotations, I suggest you create a Quaternion and do the rotations on the LookDirection and Camera Position.
You find the camera rotation transformations in the RotateHandler class.
Customer support service by UserEcho