Struct CleanPhysicsDebugDataSystem_Default
A system which cleans physics debug display data from the previous frame during the simulation. In case of using multiple worlds feature, in order for debug display to work properly on multiple worlds, you need to disable the update of this system in either main physics group (PhysicsSystemGroup) or in the custom physics group (BeforePhysicsSystemGroup), whichever updates later in the loop.
Inherited Members
Namespace: Unity.Physics.Authoring
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.Default, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(BeforePhysicsSystemGroup))]
public struct CleanPhysicsDebugDataSystem_Default : ISystem