Removed IsEntityPaused from the server component query, it was bugged and only about 1/5 of the entities on the map were actually processed in the collision system. This change causes a noticeable perf impact when starting the server and lasting until everything on the map goes to sleep.

BodyType is now serializable, fixes bug with VV.
Moved both velocity properties from ICollidableComponent to IPhysBody, added default methods to IPhysBody to get the word transform.
Added DebugTools.Break() method, calling it breaks execution in the attacked debugger.
Added VV attributes to various CollidableComponent properties.
This commit is contained in:
Acruid
2020-08-13 21:52:53 -07:00
parent 58b6e18030
commit c7f5521d2e
8 changed files with 81 additions and 28 deletions

View File

@@ -78,6 +78,15 @@ namespace Robust.Shared.Utility
throw new DebugAssertException();
}
}
/// <summary>
/// If a debugger is attached to the process, calling this function will cause the
/// debugger to break. Equivalent to a software interrupt (INT 3).
/// </summary>
public static void Break()
{
Debugger.Break();
}
}
public class DebugAssertException : Exception