How to find a good point on an IAnimatedMesh to shoot at
No i don't have artists, it's a one man uni project!
node.getMS3DJointNode(String) returns an ISceneNode... would that be able to give me the body node? I suppose the string specifies which part you need.. so i'd have to find that out, trial and error maybe.... Unless there's some program that would tell me, like a 3D modelling program that could open the md2 file and tell me the name of each part.
But what does MS3DJoint mean?
node.getMS3DJointNode(String) returns an ISceneNode... would that be able to give me the body node? I suppose the string specifies which part you need.. so i'd have to find that out, trial and error maybe.... Unless there's some program that would tell me, like a 3D modelling program that could open the md2 file and tell me the name of each part.
But what does MS3DJoint mean?
-
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
Well i'd still need to determine what point in the chest that testSceneNode had to be placed, that's the problem i'm up against.
Currently i've just changed back to shooting at the centre of the bounding box and using the bounding box for collision instead of the collision manager stuff. I think this means that i can shoot at the agent and it will always hit if they're not moving which is basically what i want, and if i get a chance later on i'll improve it, but it doesn't matter too much if i don't get to as the focus of my project is on the AI, not the graphical stuff.
Currently i've just changed back to shooting at the centre of the bounding box and using the bounding box for collision instead of the collision manager stuff. I think this means that i can shoot at the agent and it will always hit if they're not moving which is basically what i want, and if i get a chance later on i'll improve it, but it doesn't matter too much if i don't get to as the focus of my project is on the AI, not the graphical stuff.