Unverified Commit 5d63cf16 by Rémi Verschelde Committed by GitHub

Merge pull request #32767 from madmiraal/body2d-can_sleep-default

Fix mismatch between RigidBody2D and Body2DSW can_sleep defaults.
parents 3ca1296b 42a9ae7a
......@@ -794,7 +794,7 @@ BodySW::BodySW() :
still_time = 0;
continuous_cd = false;
can_sleep = false;
can_sleep = true;
fi_callback = NULL;
}
......
......@@ -694,7 +694,7 @@ Body2DSW::Body2DSW() :
still_time = 0;
continuous_cd_mode = Physics2DServer::CCD_MODE_DISABLED;
can_sleep = false;
can_sleep = true;
fi_callback = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment