Struct CapsuleSweepHit

struct CapsuleSweepHit

Public Members

fm_vec3_t normal = {}

Contact normal pointing away from geometry, toward the capsule.

fm_vec3_t point = {}

Contact point on the geometry surface.

float t = {1.0f}

Normalized fraction [0..1] of displacement at first contact.

float depth = {0.0f}

Overlap depth when t == 0 (capsule was already penetrating)

bool didHit = {false}