Enum CollisionResponsePolicy
Defines the collision response policy of a collider.
Namespace: Unity.Physics
Syntax
public enum CollisionResponsePolicy : byte
Fields
Name | Description | Value |
---|---|---|
Collide | The collider will collide normally |
0 |
CollideRaiseCollisionEvents | The collider will collide normally and raise collision events |
1 |
RaiseTriggerEvents | The collider will raise trigger events when it overlaps another collider |
3 |
None | The collider will skip collision, but can still move and intercept queries |
254 |