public ARRotationChaseCamera(IAR3D obj, Vector3 cameraOffset, Vector3 up, Matrix projection)
     : base(obj.Position + cameraOffset, obj.Position, up, projection)
 {
     this.target       = obj;
     this.cameraOffset = cameraOffset;
     cameraRotation    = Matrix.Identity;
 }
Example #2
0
 public ARLerpChaseCamera(IAR3D obj, Vector3 cameraOffset, Vector3 up, Matrix projection)
     : base(obj.Position + cameraOffset, obj.Position, up, projection)
 {
     this.cameraOffset = cameraOffset;
     target            = obj;
     CalculateWorld();
     currentMatrix = targetMatrix;
 }