Well, there is more than just a height and a scale.
First, there is the bounding box in the model as well as the CreatureModelData.dbc. That DBC file also has a scale field. Another one is in CreatureDisplayInfo.dbc. Both multiplied is the one used for models. The scale can also be overwritten by the server. That one actually modifies the bounding box in CreatureModelData which is stored in CUnit. Best would be just using that box for really good results.
I apologize for the stupid question, but what has to be done to use this,
do you need to inject a dll, or anything like that or is it possible to do this (or even interact with objects) out of process
Its possible to use (and interact) in or out of process, but life is easier in process.
Where would I look to start either of these methods? Out of process would probably have to be some half-assed way like finding its position on screen using some searching technique and sending a right-click I'm assuming right? Maybe I'm wrong.
At the moment my program is fully out of process, but now I'm diving into deeper water. Taking advantage of this Intersect function would help a lot, and I need to figure out a way to interact with objects.
Last edited by Fabolous1; 09-03-2009 at 02:04 AM.