diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-22 12:06:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 12:06:30 +0200 |
commit | fe3d62f2dc9a9bb37b6f9a1e17a7f16fa153aca8 (patch) | |
tree | 4330a60da312f25cb0025a3d0fa611172406d9d3 /servers/physics_2d | |
parent | bbcf8ac672e4176dc7e52674b9c6a6e973aeb049 (diff) | |
parent | d804c34285b0a8bea9de17d8c99160815d5bbc4d (diff) |
Merge pull request #54110 from nekomatata/fix-rigid-body-update-collision-layer
Diffstat (limited to 'servers/physics_2d')
-rw-r--r-- | servers/physics_2d/godot_body_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_2d/godot_body_2d.cpp b/servers/physics_2d/godot_body_2d.cpp index 68f114a34a..a18c748e1d 100644 --- a/servers/physics_2d/godot_body_2d.cpp +++ b/servers/physics_2d/godot_body_2d.cpp @@ -276,6 +276,7 @@ PhysicsServer2D::BodyMode GodotBody2D::get_mode() const { void GodotBody2D::_shapes_changed() { _mass_properties_changed(); + wakeup(); wakeup_neighbours(); } |