[Solved]Getting the "positioning point" of a model
Posted: Sun Jul 19, 2009 12:00 pm
A 3d model has always a point, where the position is related to. Since I don't know the name of that point I couldn't search for my question
So first question: What's the name of this positioning point?
Second and important question: How can I get this positioning point in IrrLicht? I'm using a bounding box so I can calculate distances, for example to the ground. I tried using boundingBox.getCenter(), but then I've seen that this positioning point often is NOT the center.
Kind Regards and thanks for your help,
René
PS: I've just seen the transformedBoundingBox is using absolute position, so I could calculate it with the original sceneNode->getPosition(). So I think second question is answered (I'll recode it now and test it), but I'd still like to know the name of this positioning point, so I can maybe reposition it in 3ds max?
.
![Sad :(](./images/smilies/icon_sad.gif)
So first question: What's the name of this positioning point?
Second and important question: How can I get this positioning point in IrrLicht? I'm using a bounding box so I can calculate distances, for example to the ground. I tried using boundingBox.getCenter(), but then I've seen that this positioning point often is NOT the center.
Kind Regards and thanks for your help,
René
PS: I've just seen the transformedBoundingBox is using absolute position, so I could calculate it with the original sceneNode->getPosition(). So I think second question is answered (I'll recode it now and test it), but I'd still like to know the name of this positioning point, so I can maybe reposition it in 3ds max?
.