Is worldBounds property buggy?

Software: Away3D 4.x

Mu Duck, Newbie
Posted: 27 November 2013 09:07 PM   Total Posts: 20

I posted it in support section, but as I learn more about this, I think this forum is more appropriate.

Generally I am trying to use worldBounds property to detect mesh collisions, but worldBounds are set incorrectly only if rotation properties are applied to mesh.

Here is the screenshot of my case:
I rotate mesh (the bear) on Y-axis by 40 degrees.
blue wireframe box is worldBounds
white wireframe box is bounds
As you can see worldBounds are actually bounding usual bounds, which is wrong. If you translate mesh or scale it (on any axis) - they are set correctly.

Is it a bug, or is it intended to be this way?



Away3D Forum

Member Login