Struct ModifiableContactPoint
A modifiable contact point.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct ModifiableContactPoint
Properties
Distance
Gets or sets the distance.
Declaration
public float Distance { get; set; }
Property Value
Type | Description |
---|---|
float | The distance. |
Index
Index of this point, within the ModifiableContactHeader.
Declaration
public readonly int Index { get; }
Property Value
Type | Description |
---|---|
int | The index. |
Modified
Gets a value indicating whether this object is modified.
Declaration
public readonly bool Modified { get; }
Property Value
Type | Description |
---|---|
bool | True if modified, false if not. |
Position
Gets or sets the position.
Declaration
public float3 Position { get; set; }
Property Value
Type | Description |
---|---|
float3 | The position. |