Merge pull request #29938 from jonri/fix-collisionshape-scale

Fix updating of collision shape when the transform is set
This commit is contained in:
Rémi Verschelde 2019-06-24 22:58:28 +02:00 committed by GitHub
commit 603e87e2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,7 @@ void RigidCollisionObjectBullet::set_shape_transform(int p_index, const Transfor
ERR_FAIL_INDEX(p_index, get_shape_count());
shapes.write[p_index].set_transform(p_transform);
reload_shapes();
shape_changed(p_index);
}
const btTransform &RigidCollisionObjectBullet::get_bt_shape_transform(int p_index) const {