XNA collision Test 3 (improved for multiple collision detection)
Loading...
5,328
Loading...
Uploader Comments (cebollo3)
see all
All Comments (10)
-
Muy guay :D
-
what did u download to make this? did u need to pay money?
-
Very cool.
-
:D A little spaceship with a harmless lasergun surrounded by harmless zombieships.
cool
-
orb.Velocity += (orb.Position - ship.Position).Normalize; // where Normalize is a function that transforms a vector in to a unit vector. (i.e. length = 1)
-
but really... you programmed (albeit simple, yet still) a physics engine, and the only thing this guy asks is "How did you get them to move towards you?" :)
-
How did you get them to move towards you?
Loading...
I made this myself. XNA and Microsoft C# express are free. If you want, there are also open source physics engines, like Farseer's.
cebollo3 4 months ago