docs.unity3d.com
    Show / Hide Table of Contents

    Class SmoothRigidBodiesGraphicalMotion

    A system that can smooth out the motion of rigid bodies if the fixed physics tick rate is slower than the variable graphics framerate. Each affected body's LocalToWorld is adjusted before rendering, but its underlying Translation and Rotation values are left alone.

    Inheritance
    Object
    SmoothRigidBodiesGraphicalMotion
    Namespace: Unity.Physics.GraphicsIntegration
    Syntax
    public class SmoothRigidBodiesGraphicalMotion : SystemBase

    Properties

    SmoothedDynamicBodiesGroup

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

    Declaration
    public EntityQuery SmoothedDynamicBodiesGroup { get; }
    Property Value
    Type Description
    EntityQuery

    Methods

    AddInputDependency(JobHandle)

    Declaration
    public void AddInputDependency(JobHandle inputDep)
    Parameters
    Type Name Description
    JobHandle inputDep

    GetOutputDependency()

    Declaration
    public JobHandle GetOutputDependency()
    Returns
    Type Description
    JobHandle

    OnCreate()

    Declaration
    protected override void OnCreate()

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023