Game Development Community

Pacific Demo with Bullet

by Limdorn · in Torque 3D Professional · 10/06/2011 (3:04 pm) · 9 replies

Hi. It´s posible to change the Pacific Demo physic system to Bullet?

#1
10/06/2011 (3:39 pm)
I tried this and the physics values in script dont seem very compatible with Bullet; tweaking them down to sane values got things working well, but it would take a fair amount of time to get all objects to feel similar to the demo(using PhysX).
#2
10/06/2011 (4:06 pm)
Thanks to reply so fast.

Ok. I understand it but it´s posible to create a new Full Template project and integrate the last version of Bullet Physics .
Or is it posible to update GMK to last version of Bullet Physics.

And ... How?

thanks
#3
10/06/2011 (4:17 pm)
I believe the empty and full templates do not specify a physics system, you can include one by adding the following line to your project.conf and regenerating the project files and rebuilding the source.

includeModule( 'bullet' );

If you want to swap the physx system in the pacific demo then simply replace includeModule( 'physX' ); with the line above in the project.conf. Then you will need to tweak the datablocks for each physics object otherwise things will just go kinda crazy; start with Demos\Pacific\game\art\datablocks\physicsShape.cs modifying things like mass, friction, restitution, etc.
#4
10/06/2011 (4:35 pm)
Jason ! You are the best.
Thanks for yours replies.
#5
10/06/2011 (6:54 pm)
Jason,only changing to
includeModule('Bullet') and re-building in visual studio will do all?
Does not we have to change c++ directory configuration(just like directX settings,described in documentation).if it is needed then where i can found *.lib files of bullet.in their site it is all *.h,*.cpp files.
#6
10/06/2011 (8:03 pm)
If Bullet provides source, just build the libs or dlls you need. Bullet should provide the information for building their project on their site....
#7
10/06/2011 (8:10 pm)
Yes,they have provide those info.have to use cmake.but want to know,is there any way to found a compiled version.
#8
10/07/2011 (3:45 am)
I am using the latest bullet SDK(2.78), and have had no issues yet, besides the sensitivity, but thats just script settings.

in the next few days I will upload my bullet solution files, as I see there are a few people having issues with it.

I am using bullet almost exclusively, and see a difference of only 3~4 fps in the pacific demo

EDIT:
done.
see Torque3D private forums for link.
#9
10/07/2011 (5:25 am)
thanks,thanks,THANKS
I can not wait for this. :)