Class MyGridPhysicalGroupData.GroupSharedPxProperties
Inheritance
System.Object
MyGridPhysicalGroupData.GroupSharedPxProperties
Assembly: Sandbox.Game.dll
Syntax
public sealed class GroupSharedPxProperties : ValueType
Constructors
GroupSharedPxProperties(MyCubeGrid, HkMassProperties, Int32)
Declaration
public GroupSharedPxProperties(MyCubeGrid referenceGrid, HkMassProperties sharedProperties, int gridCount)
Parameters
Type |
Name |
Description |
MyCubeGrid |
referenceGrid |
|
Havok.HkMassProperties |
sharedProperties |
|
System.Int32 |
gridCount |
|
Fields
GridCount
Declaration
public readonly int GridCount
Field Value
Type |
Description |
System.Int32 |
|
PxProperties
Declaration
public readonly HkMassProperties PxProperties
Field Value
Type |
Description |
Havok.HkMassProperties |
|
ReferenceGrid
Declaration
public readonly MyCubeGrid ReferenceGrid
Field Value
Properties
CoMWorld
Declaration
public Vector3D CoMWorld { get; }
Property Value
InertiaTensor
Declaration
public Matrix InertiaTensor { get; }
Property Value
Mass
Declaration
public float Mass { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
GetInertiaTensorLocalToGrid(MyCubeGrid)
Declaration
public Matrix GetInertiaTensorLocalToGrid(MyCubeGrid localGrid)
Parameters
Returns