Originally Posted by
singed420
After couple months study , finally I get my unlocker done as well as unlocked in game guid for wow native api to interact with.Thanks for all ownedcorers that replys.
Now I got a new problem, which is how to get a Unit's Height and Radius for combat reach? I searched a bit in forum but only saw couple ppl mentioned about object's height offset without any info about how to find it.
I also wonder how the game calculates distance when casting spell to target, is it calculate from player's model center position to target's model center postion, or is it from player's model edge( player's center+player radius) to target's model edge( target's center+target radius)? Cause when using C_Spell.IsSpellInRange to check if spell is in range, most of time when it just get enough distance to return true, it still failed to cast the spell because of not enough distance.