Blender 2.49 Physics.
Page 1 of 1 • Share •
Blender 2.49 Physics.
Game Logic (physics) Buttons in blender is a little different> Does the exporter support 2.49?
Or should I downgrade blender.
sio2ResourceBindAllPhysicObjects( sio2->_SIO2resource,sio2->_SIO2physic ); throws an exception
PS: I added the physics frame listener in EAGLView.mm
_SIO2physic->_btSoftRigidDynamicsWorld->addRigidBody( _SIO2object->_btRigidBody ); in sio_physic.cc line number 374.
I checked the object and it is a Plane
I have tried all possible combinations ( as in rigid, static, soft ) for the plane but all crashed.
I am guessing there might be an exporter issue with blender 2.49? any ideas.
Also Thanks for the fast replies.
Or should I downgrade blender.
sio2ResourceBindAllPhysicObjects( sio2->_SIO2resource,sio2->_SIO2physic ); throws an exception
PS: I added the physics frame listener in EAGLView.mm
_SIO2physic->_btSoftRigidDynamicsWorld->addRigidBody( _SIO2object->_btRigidBody ); in sio_physic.cc line number 374.
I checked the object and it is a Plane
I have tried all possible combinations ( as in rigid, static, soft ) for the plane but all crashed.
I am guessing there might be an exporter issue with blender 2.49? any ideas.
Also Thanks for the fast replies.
evrenbingol- Posts: 7
Join date: 2009-07-12
Re: Blender 2.49 Physics.
The exporter fully support 2.49 (that's whats the version Im using too)
When you export physic object make sure that you are adding them in the following sequence:
1. Make sure that you have a physic world created on sio2->_SIO2physic
2.
When you export physic object make sure that you are adding them in the following sequence:
1. Make sure that you have a physic world created on sio2->_SIO2physic
2.
- Code:
...
...
sio2ResourceBindAllInstances( sio2->_SIO2resource );
sio2ResourceBindAllMatrix( sio2->_SIO2resource );
sio2ResourceBindAllPhysicObjects( sio2->_SIO2resource, sio2->_SIO2physic );
sio2ResourceGenId( sio2->_SIO2resource );
...
...
_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

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

Similar topics» Introduction to Environmental Soil Physics- D.hillel
» [A-1865] For Slackware64: Blender 2.49b, Gnomad2 2.9.4
» ?????????????? blender ??? step by step
» Tornado Mini vs. Blender Mini
» Troll Physics.
» [A-1865] For Slackware64: Blender 2.49b, Gnomad2 2.9.4
» ?????????????? blender ??? step by step
» Tornado Mini vs. Blender Mini
» Troll Physics.
Permissions in this forum:
You cannot reply to topics in this forum