Getting it to kill the object ur bullet shoots?
Getting it to kill the object ur bullet shoots?
Im basically trying to figure out how to determain if the bullet hits a md2 model, and how to determain that it hit that model, and how to like make the model animate to a death animation once shot? Does anyone know how to do this yet or is it not yet availible to accomplish?
an idea, not a solution...
if you look in the code from the collision example, where they do the part with the picking, and it disables the lighting of whichever model your mouse is over...you could basically take that picking code and instead tell it to mark the character as dead, and set their animation to dying. of course, that means your bullets have precisely 0 travel time, which isnt so realistic...hehe
My irrlicht-based projects have gone underground for now, but if you want, check out my webcomic instead! http://brokenboomerang.net