forked from bartvdbraak/blender
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]
This commit is contained in:
parent
d4d4f2d511
commit
501922782f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user