Function veloren_common_systems::phys::capsule2cylinder

source ยท
fn capsule2cylinder(
    c0: ColliderContext<'_>,
    c1: ColliderContext<'_>,
) -> (Vec2<f32>, f32)
Expand description

Find pushback vector and collision_distance we assume between this colliders assuming that only one of them is capsule prism.