Pages

Friday, April 6, 2012

Sword Detection

Okay, so the sword system is all good to go! I've made the other two sword swing animations and they work AMAZINGLY.
I even managed to get the sword detection down. The detection actually uses the position of the sword.  Currently the sword only collides with the level geometry because there is nothing to attack; hopefully I'll fix that soon, though.

Green line is the current sword collision line, red line is the last sword position.

Green is current sword position, yellow is previous position and red is a previous hit.

No comments:

Post a Comment