Struct GravitasResponseImpulseDiagnosticView
- Namespace
- Gravitas.Diagnostics
- Assembly
- Gravitas.dll
Typed read-only view over a 3D response-impulse diagnostic event.
public readonly struct GravitasResponseImpulseDiagnosticView
- Inherited Members
Properties
ColliderAId
Gets the first context-local collider identifier.
public int ColliderAId { get; }
Property Value
ColliderAType
Gets the first collider type.
public ColliderType ColliderAType { get; }
Property Value
ColliderBId
Gets the second context-local collider identifier.
public int ColliderBId { get; }
Property Value
ColliderBType
Gets the second collider type.
public ColliderType ColliderBType { get; }
Property Value
Event
Gets the underlying diagnostic event.
public GravitasDiagnosticEvent Event { get; }
Property Value
Frame
Gets the simulation frame in which the impulse was captured.
public int Frame { get; }
Property Value
HasPointA
Gets whether PointA contains a materialized point.
public bool HasPointA { get; }
Property Value
HasPointB
Gets whether PointB contains a materialized point.
public bool HasPointB { get; }
Property Value
Impulse
Gets the applied impulse.
public Vector3d Impulse { get; }
Property Value
- Vector3d
ImpulseMagnitude
Gets the magnitude of the applied impulse.
public Fixed64 ImpulseMagnitude { get; }
Property Value
- Fixed64
NormalVelocity
Gets the relative normal velocity used by the response.
public Fixed64 NormalVelocity { get; }
Property Value
- Fixed64
PointA
Gets the materialized impulse point on the first collider.
public Vector3d PointA { get; }
Property Value
- Vector3d
PointB
Gets the materialized impulse point on the second collider.
public Vector3d PointB { get; }
Property Value
- Vector3d
Sequence
Gets the event's sequence within its capture buffer.
public int Sequence { get; }