docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsGravityFactor

    Optional gravity factor applied to a rigid body during each simulation step. This scales the gravity vector supplied to the simulation step.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public struct PhysicsGravityFactor : IComponentData, IQueryTypeParameter

    Fields

    Value

    The value.

    Declaration
    public float Value
    Field Value
    Type Description
    float

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2024 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)