docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CopyPhysicsVelocityToSmoothing

    A system that writes to a body's PhysicsGraphicalSmoothing component by copying its PhysicsVelocity after physics has stepped. These values are used for bodies whose graphics representations will be smoothed by the SmoothRigidBodiesGraphicalMotion system. Add a WriteGroupAttribute to your own component if you need to use a different value (as with a character controller).

    Implements
    ISystem
    ISystemCompilerGenerated
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.GraphicsIntegration
    Assembly: Unity.Physics.dll
    Syntax
    [UpdateInGroup(typeof(PhysicsSystemGroup), OrderLast = true)]
    public struct CopyPhysicsVelocityToSmoothing : ISystem, ISystemCompilerGenerated

    Properties

    SmoothedDynamicBodiesQuery

    An entity query matching dynamic rigid bodies whose motion should be smoothed.

    Declaration
    public readonly EntityQuery SmoothedDynamicBodiesQuery { get; }
    Property Value
    Type Description
    EntityQuery

    Implements

    ISystem
    Unity.Entities.ISystemCompilerGenerated
    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)