|
@@ -249,7 +249,7 @@ void RigidBody3D::_body_state_changed(PhysicsDirectBodyState3D *p_state) {
|
|
|
//process additions
|
|
|
|
|
|
for (int i = 0; i < toadd_count; i++) {
|
|
|
- _body_inout(1, toremove[i].rid, toadd[i].id, toadd[i].shape, toadd[i].local_shape);
|
|
|
+ _body_inout(1, toadd[i].rid, toadd[i].id, toadd[i].shape, toadd[i].local_shape);
|
|
|
}
|
|
|
|
|
|
contact_monitor->locked = false;
|