Page MenuHome

BGE: Remove translation and rotation constrains subpanel from dynamics type
ClosedPublic

Authored by Jorge Bernal (lordloki) on Feb 10 2015, 1:53 AM.

Details

Summary

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.

Diff Detail

Repository
rB Blender

Event Timeline

Jorge Bernal (lordloki) retitled this revision from to BGE: Remove translation and rotation constrains subpanel from dynamics type.
Jorge Bernal (lordloki) updated this object.

Why translation lock don't work with dynamic type only with rigid body ?

I propose this : https://developer.blender.org/differential/diff/3472/ I fix lock translation for dynamic type and remove lock rotation subpanel.

Why translation lock don't work with dynamic type only with rigid body ?

while I was investigating to fix the T41502 I was trying to avoid the micro-jumping using ApplyForce together with locking the z translation. This introduced instability on the dynamic body and it began to vibrate until it passed through the floor.
Therefore, it seems that as it is indicated in the case of rotational locking for ApplyTorque( ) (https://developer.blender.org/diffusion/B/browse/master/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp;b7bac19acaa41567967a43ae8aa8756e23f27a83$1214), it occurs a similar issue with ApplyForce( ) + translation locking.

Anyway, I will check later at home if it can be maintained for simpler cases.

This revision is now accepted and ready to land.Feb 11 2015, 5:32 PM
This revision was automatically updated to reflect the committed changes.