Class PhysicsBodyAuthoring
Inheritance
PhysicsBodyAuthoring
Syntax
[AddComponentMenu("DOTS/Physics/Physics Body")]
[DisallowMultipleComponent]
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
Type |
Description |
Unity.Mathematics.float3 |
|
InitialLinearVelocity
Declaration
public float3 InitialLinearVelocity { get; set; }
Property Value
Type |
Description |
Unity.Mathematics.float3 |
|
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