Merge pull request #6505 from tjmgd/bug-wind-71

Wind bug
monroegm-disable-blank-issue-2
Chris Galvan 4 years ago committed by GitHub
commit 66e50dfbc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -159,6 +159,12 @@ namespace PhysX
AZStd::swap(m_entityTransformHandlers[index], m_entityTransformHandlers.back());
m_entityTransformHandlers.pop_back();
// When deleting entity from handler's m_entities, the AABB should be appended to m_pendingAabbUpdates
// for local wind handler to broadcast OnWindChanged to notify relative entities of wind changes in OnTick().
m_pendingAabbUpdates.push_back();
ColliderShapeRequestBus::EventResult(m_pendingAabbUpdates.back(),
entityId, &ColliderShapeRequestBus::Events::GetColliderShapeAabb);
m_changed = true;
}
}

Loading…
Cancel
Save