To hit a bullet

Steven1985

Active member
Hi guys,
I do not remember which code, which has to be written into the bullet, has to be enabled for the character to hit the bullet.
Thank you in advance.
 
Not much to it. Give it a body box and that's it. Of course you'll need to manage what happens when it takes a hit, same as anything else.

Also note that while normal entities can hit projectiles, the engine is hard coded to prevent projectiles from hitting each other. IOW, if you want clashing projectiles like Street Fighter, you'll have to do some scripted workarounds.

DC
 
Not much to it. Give it a body box and that's it. Of course you'll need to manage what happens when it takes a hit, same as anything else.

Also note that while normal entities can hit projectiles, the engine is hard coded to prevent projectiles from hitting each other. IOW, if you want clashing projectiles like Street Fighter, you'll have to do some scripted workarounds.

DC
And can a bullet hit another bullet?
 
Back
Top Bottom