Remove EntityLookupComponent and de-dupe AABBs (#3367)

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2022-10-27 23:36:01 +11:00
committed by GitHub
parent 6edd5d8a63
commit ae2f3fe70c
22 changed files with 837 additions and 948 deletions

View File

@@ -8,6 +8,19 @@ namespace Robust.Shared.Physics
[RegisterComponent]
public sealed class BroadphaseComponent : Component
{
internal IBroadPhase Tree = default!;
/// <summary>
/// Stores all non-static bodies.
/// </summary>
public IBroadPhase DynamicTree = default!;
/// <summary>
/// Stores all static bodies.
/// </summary>
public IBroadPhase StaticTree = default!;
/// <summary>
/// Stores all entities not in another tree.
/// </summary>
public DynamicTree<EntityUid> SundriesTree = default!;
}
}