in

This site is all about the amazingly cool stuff you can do with VB.NET.

zip VB.NET XNA Chase Camera Sample

Downloads: 330 File Size: 1.5MB
Posted By: admin Views: 393
Date Added: 11-30-2007

This was the third sample I converted, pretty basic stuff. In addition to converting from C# to VB.NET, it's also been updated for XNA 2.0.

Chase Camera Sample

This sample demonstrates how to create a simple chase camera with spring physics.

Sample Overview

In this sample, you can pilot a Spacewar ship from a third-person chase camera view. The motion of both the ship and the camera are governed by simple physics. When the ship speeds away, the camera pulls back. When the ship turns, the camera lags behind in the turn to show a partial profile view of the ship. When the ship stops moving, the camera gradually slides back into place.

By pressing a button, you can compare and contrast the spring-based camera with a rigid, fixed-offset camera. You will notice that the spring-based camera provides a greater sense of speed and the ship will feel more natural to control.

Filed under: , , , , ,

Comments

No comments exist for this file.

Copyright 2008 - ILoveVB.NET
Powered by Community Server (Commercial Edition), by Telligent Systems