Camera Controller Animation
#8
Hi

I'm also having issues with this.

I TwoWay bind the scene cameras heading property to my viewmodel.

I the have a 'reset view' function which animates thing back to a default view.

Code:
// reset heading
                DoubleAnimation daHeading = new DoubleAnimation();
                daHeading.From = App.ViewModel.ProjectMissionVM.ActiveProjectMission.SceneCameraHeading;
                daHeading.To = 0;
                daHeading.Duration = new System.Windows.Duration(TimeSpan.FromMilliseconds(1000));
                daHeading.FillBehavior = System.Windows.Media.Animation.FillBehavior.HoldEnd;
                SceneCamera.BeginAnimation(Ab3d.Cameras.SceneCamera.HeadingProperty, daHeading, HandoffBehavior.Compose);

The animation works fine, but the MouseCameraController I have no longer works!! So I can't move the scene anymore with the mouse.

There must be a simple explanation but I cant figure it out.

I have tried to rebind the Heading property to my viewmodel in code but that did not work.

It is the MouseCameraController that needs rebinding??

Thanks in advance.. Jason.
  


Messages In This Thread
Camera Controller Animation - by richardpruitt96 - 10-26-2009, 09:51 PM
RE: Camera Controller Animation - by abenedik - 10-29-2009, 10:32 PM
RE: Camera Controller Animation - by abenedik - 11-18-2009, 12:21 AM
RE: Camera Controller Animation - by abenedik - 11-22-2009, 12:19 PM
RE: Camera Controller Animation - by ZENUAV - 05-31-2015, 04:01 PM
RE: Camera Controller Animation - by abenedik - 06-01-2015, 07:55 AM
RE: Camera Controller Animation - by ZENUAV - 06-01-2015, 10:06 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)