StartSpin

Oct 22, 2012 at 4:25 PM

The StartSpin method of the CameraController is what I am looking for to animate a rotation, but changing the position or the around point parameter doesn't seems to effect the rotation direction which seems to always be in a mouse up-down direction.  What I want is rotation around the Z axis (i.e. left-right).  My defaults are as follows:

view.CameraMode = CameraMode.Inspect;

view.CameraRotationMode = CameraRotationMode.Turntable;

view.ModelUpDirection = new Vector3D(0, 0, 1);

camera.UpDirection = new Vector3D(0, 1, 0);

 

Any ideas please?

Coordinator
Nov 2, 2012 at 9:43 PM

the StartSpin method is used when initiating a spin with touch or mouse events. The arguments are the speed of the cursor (in screen coordinates), the point on the screen (2D) to rotate around, and the point in the model (3D) to rotate around. 

Consider starting an animation on the camera properties directly if you need more control on the rotation!

Nov 5, 2012 at 9:09 AM

OK, thanks