3d shooter

Blitz3D Forums/Blitz3D Beginners Area/3d shooter

Kyler(Posted 2007) [#1]
How do u make bullets move in the same direction that you r facing in blitz 3d?


b32(Posted 2007) [#2]
Either use:
EntityParent bullet, player
RotateEntity bullet, 0, 0, 0
PositionEntity bullet, 0, 0, 0

or:
RotateEntity bullet, Entitypitch(player), entityyaw(player), entityroll(player)
PositionEntity bullet, Entityx(player), entityy(player), entityz(player)