Fix typo in cylinder-cylinder SAT collision solver

This commit is contained in:
Ricardo Buring 2022-12-06 16:43:45 +01:00
parent a8a88194a5
commit e2b013380d

View file

@ -1908,7 +1908,7 @@ static void _collision_cylinder_cylinder(const GodotShape3D *p_a, const Transfor
}
// Cylinder B end caps.
if (!separator.test_axis(cylinder_A_axis.normalized())) {
if (!separator.test_axis(cylinder_B_axis.normalized())) {
return;
}