shooting problems

Blitz3D Forums/Blitz3D Beginners Area/shooting problems

Ben(t)(Posted 2007) [#1]
I am making a first person shooter, but as I point up the bullets don't go with the gun
can someone help me?


chwaga(Posted 2007) [#2]
entityparent? (let's see some code!)


Ben(t)(Posted 2007) [#3]
never mind I got the problem fixed but I'll show you what was wrong

PositionEntity b\entity,EntityX(feet),EntityY(feet)+4,EntityZ(feet),1

RotateEntity b\entity,EntityPitch(head),EntityYaw(feet),EntityRoll(feet),1

MoveEntity b\entity,2,0,4

so this is my bullet entity

instead of the entityy(feet)+4 I had moveentity b\entity,2,4,4 thus making it pivot from the feet which was four ft below what I wanted but now I just changed that so now it is to works


chwaga(Posted 2007) [#4]
k