Blender Git Loki
Git Commits -> Revision 3dbc123
Revision 3dbc123 by Sybren A. Stüvel (master) November 10, 2015, 12:39 (GMT) |
BGE: allow setting velocity to zero in a motion actuator. The motion actuator goes out of its way to prevent setting zero velocities, which should actually be supported. This patch just works around it as a first test. We should investigate whether the flags `m_bitLocalFlag.ZeroLinearVelocity` and `m_bitLocalFlag.ZeroAngularVelocity` are actually needed/desired at all. One of the issues that's already visible with this simple change, is that objects aren't actually frozen but still move a little bit; see test with {F241908}. Reviewers: lordloki, hg1, moguri, panzergame Reviewed By: lordloki, panzergame Differential Revision: https://developer.blender.org/D1545 |
Commit Details:
Full Hash: 3dbc123061aa063efd1fca358f5e295b0ce7b302
Parent Commit: 7bb16a5
Lines Changed: +17, -4
1 Modified Path:
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+17, -4) (Diff)