docs.unity.cn
    Show / Hide Table of Contents

    Enum ContinuousMoveProviderBase.GravityApplicationMode

    Defines when gravity will begin to take effect.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum GravityApplicationMode : int

    Fields

    Name Description Value
    AttemptingMove

    Only begin to apply gravity and apply locomotion when a move input occurs. When using gravity, will then continue applying each frame, even if input is stopped, until touching ground.

    0
    Immediately

    Apply gravity and apply locomotion every frame, even without move input.

    1
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, October 27, 2021