diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-06-21 09:30:57 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-06-21 09:30:57 +0400 |
commit | 501922782fec2cd626e3bea13d67f9e225ab025e (patch) | |
tree | 307792ab2982e948f01f4888053507787f835808 | |
parent | d4d4f2d511f5ee0482223367f32b76d7bd8d7d60 (diff) |
Fix for [#31792] "Character Physics type not detected by near sensor" reported by Mikko-Pentti Eronen.
Near sensors only pick up "actors," but objects with character physics did not have the actor option displayed. By setting the character physics object to actor, it can be picked up by the near sensor. However, it collides with the near sensor, which sounds like bug [#31701]
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 549e2181a2b..0b6e4154050 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -50,6 +50,8 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel): physics_type = game.physics_type if physics_type == 'CHARACTER': + layout.prop(game, "use_actor") + layout.prop(ob, "hide_render", text="Invisible") # out of place but useful layout.prop(game, "step_height", slider=True) layout.prop(game, "jump_speed") layout.prop(game, "fall_speed") |