Unstable 0.1500.2.0 (Rokvach's dog edition)

This commit is contained in:
Markus Isberg
2021-09-10 04:52:34 +09:00
parent e7b7c1a748
commit 1231170fce
126 changed files with 2424 additions and 1083 deletions
@@ -999,7 +999,7 @@ namespace FarseerPhysics.Dynamics
if (body == null)
throw new ArgumentNullException("body");
if (body.World != this)
throw new ArgumentException("You are removing a body that is not in the simulation.", "body");
throw new ArgumentException($"You are removing a body that is not in the simulation (userdata: {body.UserData?.ToString() ?? "null"}).", "body");
#if USE_AWAKE_BODY_SET
Debug.Assert(!AwakeBodySet.Contains(body));