struct
ControllerColliderCollision
Inherits:
ControllerCollision
Contains data about a collision of a character controller and a collider.
Public
Fields
Collider
HCollider Collider
Component of the controller that was touched.
Can be null if the controller has no component parent, in which case check #colliderRaw.
TriangleIndex
u32 TriangleIndex
Touched triangle index for mesh colliders.
Position
Vector3 Position
Contact position.
Normal
Vector3 Normal
Contact normal.
MotionDir
Vector3 MotionDir
Direction of motion after the hit.
MotionAmount
float MotionAmount
Magnitude of motion after the hit.