-
Notifications
You must be signed in to change notification settings - Fork 3
Level Editing
MaxReimann edited this page Feb 4, 2014
·
1 revision
Edit Levels in Blender and export them with the obstacle_export script.
Levels are exported to auto_levelmodel.cpp, exported properties are: position, rotation,dimensions, name, collisiontype. These define the physics properties in the game. The geometry of the level is exported to data/models/simple_level.obj (modify in script to your own absolute path). It is possible to use non-box geometries, the physics will collide against the bounding box.
To set the collision type either edit the custom property manually, or to change for many objects, use the script selection_collisionProperty.py.