Struct SurfaceConstraintInfo
Information about the surface constraint.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct SurfaceConstraintInfoFields
ColliderKey
The collider key.
Declaration
public ColliderKey ColliderKeyField Value
| Type | Description | 
|---|---|
| ColliderKey | 
HitPosition
The hit position.
Declaration
public float3 HitPositionField Value
| Type | Description | 
|---|---|
| float3 | 
IsMaxSlope
True if is maximum slope, false if not.
Declaration
public bool IsMaxSlopeField Value
| Type | Description | 
|---|---|
| bool | 
IsTooSteep
True if is too steep, false if not.
Declaration
public bool IsTooSteepField Value
| Type | Description | 
|---|---|
| bool | 
Plane
The Plane.
Declaration
public Plane PlaneField Value
| Type | Description | 
|---|---|
| Plane | 
Priority
The priority.
Declaration
public int PriorityField Value
| Type | Description | 
|---|---|
| int | 
RigidBodyIndex
The rigid body index.
Declaration
public int RigidBodyIndexField Value
| Type | Description | 
|---|---|
| int | 
Touched
True if touched.
Declaration
public bool TouchedField Value
| Type | Description | 
|---|---|
| bool | 
Velocity
The velocity.
Declaration
public float3 VelocityField Value
| Type | Description | 
|---|---|
| float3 |