I got a lot of questions at the moment. ^^
I'd like to create a lightning effect from a unit's head to another point. With JNGP I can create lightnings from XYZ to XYZ, but I don't know how to get the Z of a unit's head/chest/etc.
I can't use its flying height because I don't want to have a lightning starting at the feet. A way to get the height of a model would also be a solution, but another would be better.
Thanks for help. =)
Triax
I'd like to create a lightning effect from a unit's head to another point. With JNGP I can create lightnings from XYZ to XYZ, but I don't know how to get the Z of a unit's head/chest/etc.
I can't use its flying height because I don't want to have a lightning starting at the feet. A way to get the height of a model would also be a solution, but another would be better.
Thanks for help. =)
Triax