Fix updating of collision shape when the transform is set
This commit is contained in:
parent
0ac3687d6f
commit
9d3089181c
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue