From 2b847d1e6508b1b2da68f5e224305c62e0acf603 Mon Sep 17 00:00:00 2001 From: Jorge Bernal Date: Fri, 13 Feb 2015 00:05:16 +0100 Subject: BGE: Remove translation and rotation constrains subpanel from dynamics type The translation and rotation locks subpanel was not used by dynamic physics type to avoid inestability in the application of forces and/or torques. Therefore it is better to remove it from UI (for dynamics) to avoid misunderstandings. Reviewers: moguri, dfelinto, campbellbarton Reviewed By: campbellbarton Subscribers: panzergame Differential Revision: https://developer.blender.org/D1090 --- release/scripts/startup/bl_ui/properties_game.py | 1 + 1 file changed, 1 insertion(+) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 4cb6929f290..3daf938d6b9 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -100,6 +100,7 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel): sub.prop(game, "damping", text="Translation", slider=True) sub.prop(game, "rotation_damping", text="Rotation", slider=True) + if physics_type == 'RIGID_BODY': layout.separator() split = layout.split() -- cgit v1.2.3