docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    ISystem
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    Implements

    ISystem
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)