Table of Contents

Enum CollisionType

Namespace
Gravitas.Colliders
Assembly
Gravitas.dll

Identifies the resolved 3D narrow-phase path for an ordered collider pair.

public enum CollisionType : byte

Fields

AABox_Capsule = 5

Axis-aligned box against capsule.

Capsule_Capsule = 3

Capsule against capsule.

Capsule_Sphere = 2

Capsule against sphere.

Compound = 20

A pair involving at least one compound collider.

Cone_Convex = 13

Cone against a convex shape.

Cone_Sphere = 12

Cone against sphere.

Cuboid_Cuboid = 7

Cuboid against cuboid.

Cuboid_Cylinder = 11

Cuboid against cylinder.

Cuboid_Sphere = 4

Cuboid against sphere.

Cylinder_Capsule = 9

Cylinder against capsule.

Cylinder_Cylinder = 10

Cylinder against cylinder.

Cylinder_Sphere = 8

Cylinder against sphere.

Mesh_Capsule = 15

Mesh against capsule.

Mesh_Cone = 18

Mesh against cone.

Mesh_Cuboid = 16

Mesh against cuboid.

Mesh_Cylinder = 17

Mesh against cylinder.

Mesh_Mesh = 19

Mesh against mesh.

Mesh_Sphere = 14

Mesh against sphere.

None = 0

No supported collision path.

OBBox_Capsule = 6

Oriented box against capsule.

Sphere_Sphere = 1

Sphere against sphere.