in

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

zip VB.NET XNA Aiming Sample

Downloads: 327 File Size: 155.4kB
Posted By: admin Views: 310
Date Added: 11-30-2007

This was the first sample on the list at creators.xna.com, so it was the first one I converted.

This sample shows how to use trigonometry to make one 2D object aim towards another object as fast as it can. This can be useful when making spotlights, gun turrets, and more. The function TurnToFace does the hard work in this sample. You can copy it and use it in your game.

Filed under: , , ,

Comments

No comments exist for this file.

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