Rotating 3D Object using Keyboard Keys

Topics: Developer Forum, Project Management Forum, User Forum
Jul 25, 2008 at 8:05 AM

Dear All, <o:p></o:p>

<o:p> </o:p>

I am trying to rotate my 3D object  using the keyboard up and down keys.  I am working on a WPF project , on Visual Studio 2005 , using .Net Framework 3.0.

My Solution is composed of 2 projects, Robot3D ( my project ) and 3DTools project. I have included the 3DTools reference in the Robot3D project.

I have added the following code, to make a small test,  in the  TrackballDecorator.cs file of the 3DTools project:<o:p></o:p>

<o:p> </o:p>

protected override void OnKeyDown(KeyEventArgs e)<o:p></o:p>





After compiling  the 2 solutions, I have noticed that it is not working!!

So, is it possible to make changes in the TrackballDecorator.cs for it to be considered in my project?<o:p></o:p>

<o:p> </o:p>

Thanks, <o:p></o:p>

Sondos <o:p></o:p>

<o:p> </o:p>