Class PhysicsBodyAuthoring
Inheritance
PhysicsBodyAuthoring
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[AddComponentMenu("DOTS/Physics/Physics Body")]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@0.51/api/Unity.Physics.Authoring.PhysicsBodyAuthoring.html")]
public sealed class PhysicsBodyAuthoring : MonoBehaviour
Properties
AngularDamping
Declaration
public float AngularDamping { get; set; }
Property Value
CustomMassDistribution
Declaration
public MassDistribution CustomMassDistribution { get; set; }
Property Value
CustomTags
Declaration
public CustomPhysicsBodyTags CustomTags { get; set; }
Property Value
GravityFactor
Declaration
public float GravityFactor { get; set; }
Property Value
InitialAngularVelocity
Declaration
public float3 InitialAngularVelocity { get; set; }
Property Value
InitialLinearVelocity
Declaration
public float3 InitialLinearVelocity { get; set; }
Property Value
LinearDamping
Declaration
public float LinearDamping { get; set; }
Property Value
Mass
Declaration
public float Mass { get; set; }
Property Value
MotionType
Declaration
public BodyMotionType MotionType { get; set; }
Property Value
OverrideDefaultMassDistribution
Declaration
public bool OverrideDefaultMassDistribution { get; set; }
Property Value
Smoothing
Declaration
public BodySmoothing Smoothing { get; set; }
Property Value
WorldIndex
Declaration
public uint WorldIndex { get; set; }
Property Value