docs.unity.cn
    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

    Smoothing

    Declaration
    public BodySmoothing Smoothing { get; set; }
    Property Value
    Type Description
    BodySmoothing

    WorldIndex

    Declaration
    public uint WorldIndex { get; set; }
    Property Value
    Type Description
    UInt32
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 26, 2022
    Terms of use