Struct ModifiableContactPoint
A modifiable contact point.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct ModifiableContactPoint
Properties
Distance
Gets or sets the distance.
Declaration
public float Distance { get; set; }
Property Value
Type | Description |
---|---|
Single | The distance. |
Index
Index of this point, within the ModifiableContactHeader.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
Int32 | The index. |
Modified
Gets a value indicating whether this object is modified.
Declaration
public bool Modified { get; }
Property Value
Type | Description |
---|---|
Boolean | 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. |