Collision Detection for bullets

Blitz3D Forums/Blitz3D Beginners Area/Collision Detection for bullets

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

CameraPick cam,400,300
p_e=pickedentity()
p_x=PickedX()
p_y=PickedY()
p_z=PickedZ()
if p_z<100 and p_e=enemyhandle then freeentity enemy