Quote:

I plan to update the sword combat script sometime in the future; I'd need a warrior model with a separate sword first. An easy way to solve the problem would be to animate the sword and the player together, and then to save them as separate models. That's how the guard model from Morrowing works and most of its associated code should work fine for your project.




I believe the old sword code's major problem was that it was dificult to manage exactly how much damage was done and there there was a lot of traces done. Maybe a scan cone or do a trace at two points like venture did. I haven't tested these methods out but those have been my thoughts on the subject.


Optimism is an occupational hazard of programming: feedback is the treament.
Kent Beck