Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / GetObjectSizeMin/Max Does not work with LoadObjectWithChildren()

Author
Message
Golelorn
7
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 28th Oct 2018 14:24 Edited at: 28th Oct 2018 14:28
Is there something special that needs to be done?

If I load an object with bones I get 0. If I load an object without bones it returns the correct size.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 5th Nov 2018 16:38
I can't immediately see anything in the code that would cause this, the size values are based on the mesh vertices, although they may not be where you expect since the bones could deform them. The size values are based on the undeformed mesh.

Login to post a reply

Server time is: 2024-04-20 02:54:41
Your offset time is: 2024-04-20 02:54:41