FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

btCompoundShape with SIO2

2 posters

Go down

btCompoundShape with SIO2 Empty btCompoundShape with SIO2

Post  Tume Wed Mar 11, 2009 9:24 am

Is there a "supported" workflow for creating compound objects? SIO2 doesn't seem to support those at all. I tought of creating them manually but what do I have to take into consideration? I probably have to render the objects myself and can't even use the original SIO2Objects or has anyone else experienced with this?

Thanks,
Tuomas

Tume

Posts : 1
Join date : 2009-03-11

Back to top Go down

btCompoundShape with SIO2 Empty Re: btCompoundShape with SIO2

Post  sio2interactive Wed Mar 11, 2009 4:24 pm

After loading from .sio2, simply get back the handle of the object, after that its up to you to initialize the _SIO2object->_btRigidBody, if you need vertices for you shape simply use sio2MapBuffer to get access to the vertices and write your own routine to assign the necessary data to your shape.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum