Show / Hide Table of Contents

    Enum SimulationMode

    Simulation mode of the default physics world. Used to control when the physics engine will be stepped.

    Namespace: Motphys.Rigidbody
    Assembly: solution.dll
    Syntax
    public enum SimulationMode

    Fields

    Name Description
    FixedUpdate

    The physics engine will be stepped in FixedUpdate. Choose this mode if you want a more deterministic simulation result.

    Script

    The physics engine will not be stepped automatically. You need to call PhysicsManager.Simulate() manually.

    Update

    The physics engine will be stepped in Update.

    Back to top Copyright © 2020-2024 北京谋先飞技术有限公司及其关联公司北京谋先飞科技有限公司
    Generated by DocFX