Skip to content

Instantly share code, notes, and snippets.

@rraallvv
Last active December 19, 2015 10:39
Show Gist options
  • Save rraallvv/5942161 to your computer and use it in GitHub Desktop.
Save rraallvv/5942161 to your computer and use it in GitHub Desktop.
Blender 3D physics exporter
import bpy
import bge
#bge.constraints.setGravity(0, 0, 0);
path = bpy.path.abspath("//")
filename = bpy.path.display_name_from_filepath(bpy.data.filepath)
bge.constraints.exportBulletFile(path+filename+".bullet")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment