Page 1 of 1

Export physics from blender.

Posted: Mon Jan 30, 2012 1:19 pm
by Flame
Hello! I'm using blender 2.61 now and i don't understand how to export bullet physics from it. I tried export scene to collada but there was only render data. Also i tried find out how to export scene to .bullet file and there wasn't success too. Help me, please.

Re: Export physics from blender.

Posted: Mon Jan 30, 2012 8:34 pm
by Erwin Coumans
You need add two game logic bricks, an always sensor attached to a Python controlled, with a two-line script that exports the .bullet file, and press 'P' to run the game engine (and escape to end it).

Here is a Youtube video tutorial how to do it: http://www.youtube.com/watch?v=fv-Oq5oe8Nw&hd=1 (try to set it to 1080p for better quality)
and attached is an example .blend file.

Thanks,
Erwin

Re: Export physics from blender.

Posted: Tue Jan 31, 2012 8:29 am
by Flame
Thanks, that works good. But what about collada?