I'm trying to make a basic 3d environment with a ship that can fly around. I would like the camera to follow this ship from a 3rd person perspective. I tried using SetToFollow, but when the ship turns the camera doesn't turn with it. The camera continues to "follow" but from the same perspective.
here is my while loop
DarkGDK.Camera.DefaultCamera.SetToFollow(ship.X, ship.Y, ship.Z, 0, 30, 10, 1, true);
Thanks for your help!
I found another post that mentioned re-positioning the right behind the object, and then just back up a bit. This seemed to work.
DarkGDK.Camera.DefaultCamera.PositionCurrent(ship.X, ship.Y, ship.Z);
DarkGDK.Camera.DefaultCamera.CurrentAngleX = ship.AngleX;
DarkGDK.Camera.DefaultCamera.CurrentAngleY = ship.AngleY;
DarkGDK.Camera.DefaultCamera.CurrentAngleZ = ship.AngleZ;