FPS Gun

Blitz3D Forums/Blitz3D Programming/FPS Gun

BDixon(Posted 2010) [#1]
While working on my First Person Shooter I ran into a snag; the algorithm I used to shoot the gun at first (a simple CreateCylinder gun) won't work when I add an MD2 gun. Could anyone post a code snippet containing the algorithm to fire a shot so that I can port it into the game?


_PJ_(Posted 2010) [#2]
What exactly do you mean by the algorithm to fire a shot?
And in what way does it "not work" with an MD2 gun?

It sounds more like something related to animation perhaps since the way Blitz 3D handles meshes works differently with MD2 than with other formats as far as I understand!


stanrol(Posted 2010) [#3]
"stick with cylinder, it's still cool".


Ross C(Posted 2010) [#4]
Maybe to do with FindChild not working on a .md2?