btCompoundShape with SIO2

View previous topic View next topic Go down

btCompoundShape with SIO2

Post  Tume on 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

View user profile

Back to top Go down

Re: btCompoundShape with SIO2

Post  sio2interactive on 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.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

View previous topic View next topic Back to top


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