Improve performance for shapeless objects when using Jolt Physics

This commit is contained in:
Mikael Hermansson 2025-07-03 14:14:00 +02:00
parent efb40c1524
commit 63021bb4aa
4 changed files with 14 additions and 1 deletions

View file

@ -167,6 +167,9 @@ void JoltShapedObject3D::_dequeue_needs_optimization() {
void JoltShapedObject3D::_shapes_changed() {
commit_shapes(false);
}
void JoltShapedObject3D::_shapes_committed() {
_update_object_layer();
}