have a look at chase's skeleton helper (http://www.jpct.net/forum2/index.php/topic,3300.0.html). it has a getBoneDirection method, which you can modify and use. ie: do not normalize the result vector and calculate length of it.