Improve performance for shapeless objects when using Jolt Physics
This commit is contained in:
parent
efb40c1524
commit
63021bb4aa
4 changed files with 14 additions and 1 deletions
|
|
@ -167,6 +167,9 @@ void JoltShapedObject3D::_dequeue_needs_optimization() {
|
|||
|
||||
void JoltShapedObject3D::_shapes_changed() {
|
||||
commit_shapes(false);
|
||||
}
|
||||
|
||||
void JoltShapedObject3D::_shapes_committed() {
|
||||
_update_object_layer();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue