Class PhysicsBodyAuthoring | Unity Physics | 0.3.2-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class PhysicsBodyAuthoring

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

    Properties

    AngularDamping

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

    CustomMassDistribution

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

    CustomTags

    Declaration
    public CustomPhysicsBodyTags CustomTags { get; set; }
    Property Value
    Type Description
    CustomPhysicsBodyTags

    GravityFactor

    Declaration
    public float GravityFactor { get; set; }
    Property Value
    Type Description
    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
    Single

    Mass

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

    MotionType

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

    OverrideDefaultMassDistribution

    Declaration
    public bool OverrideDefaultMassDistribution { get; set; }
    Property Value
    Type Description
    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