A question on weapons…

Hello all. I’m working on a game in which I use a sword. The idea that I’ve come up with would be to create a separate collision shape around the sword bone. Is this the best way? Also, if it is, are there any examples out there? I don’t want to waste my time doing something that is already out there… I only have a quarter left to make the game :slight_smile: Thanks.


When you use physics I would use PhysicsSpace.rayTest or PhysicsSpace.sweepTest, otherwise rootNode.collideWith(swordApproximationBoudingVolume)

Depends on what you want to do I guess, I remember Quake 1 using a “Damage at short distance in front of the camera” technique to find the ‘hit’ when swinging the axe which worked fine for simple slashing and no other tricks.