Struct CleanPhysicsDebugDataSystem_Default
A system which cleans physics debug display data from the previous frame. When using multiple physics worlds, in order for the debug display to work properly, you need to disable the update of this system in either main physics group (PhysicsSystemGroup) or in the custom physics group, whichever updates later in the loop.
Implements
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.Default, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(PhysicsDebugDisplayGroup), OrderFirst = true)]
public struct CleanPhysicsDebugDataSystem_Default : ISystem