Struct SurfaceConstraintInfo
Information about the surface constraint.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
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 |
---|---|
bool |
IsTooSteep
True if is too steep, false if not.
Declaration
public bool IsTooSteep
Field Value
Type | Description |
---|---|
bool |
Plane
The Plane.
Declaration
public Plane Plane
Field Value
Type | Description |
---|---|
Plane |
Priority
The priority.
Declaration
public int Priority
Field Value
Type | Description |
---|---|
int |
RigidBodyIndex
The rigid body index.
Declaration
public int RigidBodyIndex
Field Value
Type | Description |
---|---|
int |
Touched
True if touched.
Declaration
public bool Touched
Field Value
Type | Description |
---|---|
bool |
Velocity
The velocity.
Declaration
public float3 Velocity
Field Value
Type | Description |
---|---|
float3 |