Struct PhysicsMass
Syntax
public struct PhysicsMass : IComponentData
Fields
AngularExpansionFactor
Declaration
public float AngularExpansionFactor
Field Value
InverseInertia
Declaration
public float3 InverseInertia
Field Value
InverseMass
Declaration
Field Value
Declaration
public RigidTransform Transform
Field Value
Properties
CenterOfMass
Declaration
public float3 CenterOfMass { get; set; }
Property Value
HasInfiniteInertia
Declaration
public readonly bool HasInfiniteInertia { get; }
Property Value
HasInfiniteMass
Declaration
public readonly bool HasInfiniteMass { get; }
Property Value
InertiaOrientation
Declaration
public quaternion InertiaOrientation { get; set; }
Property Value
IsKinematic
Declaration
public readonly bool IsKinematic { get; }
Property Value
Methods
CreateDynamic(MassProperties, Single)
Declaration
public static PhysicsMass CreateDynamic(MassProperties massProperties, float mass)
Parameters
Returns
CreateKinematic(MassProperties)
Declaration
public static PhysicsMass CreateKinematic(MassProperties massProperties)
Parameters
Returns
Extension Methods