- Joined
- Jun 14, 2024
- Messages
- 54
- Solutions
- 9
- Reaction score
- 62
- Points
- 18
Hi guys,
This is an area I know almost nothing about so this might be a stupid/easy question to answer (I hope so).
Sometimes I come across models that have bounding box problems which make the model and hit box not line up.
A recent example I had was with mvr_Imp.o3d model. The bounding box for this model is a lot lower than the actual model when it's in animation (I think because its idle and walking animation has it flying slightly off the ground) so the upper half of the imps torso does not register if you click on it.
My current "fix" for these issues is to manually modify the bounding box when the models are loaded from the resource for this example:
CModelObject::LoadElement(LPCTSTR szFileName, int nParts)
So my question for all you model wizards is - how easy is it to adjust the model bounding box so that I don't have to hardcode it like this?
This is an area I know almost nothing about so this might be a stupid/easy question to answer (I hope so).
Sometimes I come across models that have bounding box problems which make the model and hit box not line up.
A recent example I had was with mvr_Imp.o3d model. The bounding box for this model is a lot lower than the actual model when it's in animation (I think because its idle and walking animation has it flying slightly off the ground) so the upper half of the imps torso does not register if you click on it.
My current "fix" for these issues is to manually modify the bounding box when the models are loaded from the resource for this example:
CModelObject::LoadElement(LPCTSTR szFileName, int nParts)
So my question for all you model wizards is - how easy is it to adjust the model bounding box so that I don't have to hardcode it like this?