Export physics from blender.

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Flame
Posts: 2
Joined: Mon Jan 30, 2012 1:11 pm

Export physics from blender.

Post 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Export physics from blender.

Post 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
You do not have the required permissions to view the files attached to this post.
Flame
Posts: 2
Joined: Mon Jan 30, 2012 1:11 pm

Re: Export physics from blender.

Post by Flame »

Thanks, that works good. But what about collada?