Class PhysicsBody | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PhysicsBody

    Inheritance
    System.Object
    PhysicsBody
    Namespace: Unity.Physics.Authoring
    Syntax
    public sealed class PhysicsBody : MonoBehaviour

    Fields

    m_OverrideDefaultMassDistribution

    Declaration
    public bool m_OverrideDefaultMassDistribution
    Field Value
    Type Description
    System.Boolean

    Properties

    AngularDamping

    Declaration
    public float AngularDamping { get; set; }
    Property Value
    Type Description
    System.Single

    CustomMassDistribution

    Declaration
    public MassDistribution CustomMassDistribution { get; set; }
    Property Value
    Type Description
    MassDistribution

    GravityFactor

    Declaration
    public float GravityFactor { get; set; }
    Property Value
    Type Description
    System.Single

    InitialAngularVelocity

    Declaration
    public float3 InitialAngularVelocity { get; set; }
    Property Value
    Type Description
    float3

    InitialLinearVelocity

    Declaration
    public float3 InitialLinearVelocity { get; set; }
    Property Value
    Type Description
    float3

    LinearDamping

    Declaration
    public float LinearDamping { get; set; }
    Property Value
    Type Description
    System.Single

    Mass

    Declaration
    public float Mass { get; set; }
    Property Value
    Type Description
    System.Single

    MotionType

    Declaration
    public BodyMotionType MotionType { get; set; }
    Property Value
    Type Description
    BodyMotionType

    OverrideDefaultMassDistribution

    Declaration
    public bool OverrideDefaultMassDistribution { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top
    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