Jump to content

Recommended Posts

Posted

I loaded my animated mesh with loadmesh, but when i try to use getentityaabb i receive all the value to 0.

Do you know why?

Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.

Posted

You are probably not getting the Mesh of your model correctly dont do this:

 

TVec6 _BoundingBox = LE::GetEntityAABB(yourmodel);

 

But this:

 

TVec6 _BoundingBox = LE::GetEntityAABB(LE::GetChild(yourmodel));

 

 

LE::GetChild(yourmodel) get the Mesh of the model :)

You guys are going to be the death of me. Josh
Posted

So i should get the child? Ok i'll check, but anyway was just a question.. I noticed it during some test for voxellization.

Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.

Posted

This make sense.. But if i don't remember wrong i saw this issue on oildrum too.. It have hierarchy?

Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...