View Single Post
Bullet Collision
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Lightbulb Bullet Collision - 08-11-2010, 05:26 PM

Not so much asking for help, but to help others ahead of time.

In this world, I have a way of making collision detection without making the actual bullet move.

Anybody else who might like to contribute their examples, feel free to do so.

WASD to look.

Penguin will flap its wings as long as it's within the line of fire.
Note that it is not meant to be a finished world, and you would need more variables to make the collision happen only when you're firing and whatnot.

To see what I did, look at the world.collisiondetect method and the world.collision function, located in the methods tab and functions tab respectively.
Attached Files
File Type: a2w collisionexample.a2w (749.6 KB, 169 views)
   
Reply With Quote