don't do simple kinematic simulation on things that have parents

This commit is contained in:
Seth Alves 2016-04-06 16:42:14 -07:00
parent d09d16082e
commit 5375fdd0f0

View file

@ -888,6 +888,9 @@ void EntityItem::simulateKinematicMotion(float timeElapsed, bool setFlags) {
if (hasActions()) {
return;
}
if (!_parentID.isNull()) {
return;
}
if (hasLocalAngularVelocity()) {
glm::vec3 localAngularVelocity = getLocalAngularVelocity();