Struct SurfaceConstraintInfo
Information about the surface constraint.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct SurfaceConstraintInfo
Fields
ColliderKey
The collider key.
Declaration
public ColliderKey ColliderKey
Field Value
Type | Description |
---|---|
ColliderKey |
HitPosition
The hit position.
Declaration
public float3 HitPosition
Field Value
Type | Description |
---|---|
float3 |
IsMaxSlope
True if is maximum slope, false if not.
Declaration
public bool IsMaxSlope
Field Value
Type | Description |
---|---|
Boolean |
IsTooSteep
True if is too steep, false if not.
Declaration
public bool IsTooSteep
Field Value
Type | Description |
---|---|
Boolean |
Plane
The Plane.
Declaration
public Plane Plane
Field Value
Type | Description |
---|---|
Plane |
Priority
The priority.
Declaration
public int Priority
Field Value
Type | Description |
---|---|
Int32 |
RigidBodyIndex
The rigid body index.
Declaration
public int RigidBodyIndex
Field Value
Type | Description |
---|---|
Int32 |
Touched
True if touched.
Declaration
public bool Touched
Field Value
Type | Description |
---|---|
Boolean |
Velocity
The velocity.
Declaration
public float3 Velocity
Field Value
Type | Description |
---|---|
float3 |