This commit is contained in:
2012-08-08 01:24:48 +00:00
parent e9d73dbba5
commit 843b45cafa
8 changed files with 130 additions and 2 deletions

View File

@@ -189,8 +189,16 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel):
layout.operator("mesh.navmesh_reset")
layout.operator("mesh.navmesh_clear")
if physics_type not in {'NO_COLLISION', 'OCCLUDE'}:
layout.separator()
split = layout.split()
col = split.column()
col.prop(game, "collision_group")
col = split.column()
col.prop(game, "collision_mask")
class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel, Panel):
bl_label = "Collision Bounds"
COMPAT_ENGINES = {'BLENDER_GAME'}