The 3D digital artist is still waiting to see the spaceship from different angles. He needs to know if the model is appropriate for your game. You want to see the ship moving and rotating in the screen. In order to do this, we must add some transformations and some code to control them. We will add both XAML and C# code:
Page1.xamland add the following lines of code after
<ModelVisual3D>(we are adding transformations for the
<ModelVisual3D.Transform> <Transform3DGroup> <RotateTransform3D> <RotateTransform3D.Rotation> <AxisAngleRotation3D x:Name="rotateShip" Axis="1 0 0" Angle="100" /> </RotateTransform3D.Rotation> ...