The Simple Collider addon covers only the blender side of creating collisions. It does not provide any special importers for 3rd party game engines.

Naming Presets

Simple Collider supports naming presets saved as simple .py files on the file system. You can save naming settings, quickly toggle them if for working on different projects or engines and share the preset files with colleagues. Simple Collider 1.1 bring a lot of improvements to the prefab handling. It's now shipped with 2 presets:

  • UE-default (read-only)
  • Unity (read-only)

img

Presets can be created and deleted. You can change a preset by creating a preset with the same name. img

Distributing Presets

The easiest way to distribute the presets is to share the preset '.py' files. You can open the preset directory by pressing the folder icon in either the side panel or the preferences (see gifs above). You can also find the files by pressing the folder icon next to the preset selection:

The presets files are very simple, this is the example of the UE.py file:

import bpy
prefs = bpy.context.preferences.addons['bl_ext.user_extensions.simple_collider'].preferences

prefs.naming_position = 'PREFIX'
prefs.replace_name = False
prefs.obj_basename = 'geo'
prefs.separator = '_'
prefs.collision_string_prefix = ''
prefs.collision_string_suffix = ''
prefs.box_shape = 'UBX'
prefs.sphere_shape = 'USP'
prefs.capsule_shape = 'UCP'
prefs.convex_shape = 'UCX'
prefs.mesh_shape = ''
prefs.rigid_body_naming_position = 'PREFIX'
prefs.rigid_body_extension = 'SM'
prefs.rigid_body_separator = ''
prefs.collider_groups_enabled = True
prefs.user_group_01 = ''
prefs.user_group_02 = ''
prefs.user_group_03 = 'Complex'
prefs.user_group_01_name = 'Simple'
prefs.user_group_02_name = 'Simple 2'
prefs.user_group_03_name = 'Complex'
prefs.use_physics_material = False
prefs.material_naming_position = 'PREFIX'
prefs.physics_material_separator = '_'
prefs.use_random_color = True
prefs.physics_material_su_prefix = 'COL'
prefs.physics_material_name = 'MI_COL'
prefs.physics_material_filter = 'COL'

Other

The naming options should allow the Simple Collider addon to be used with a large variety of engines and pipelines. Feel free to contact me if you need help incorporating the addon in your pipeline and proprietary engine.