Merge pull request #69671 from rburing/cylinder-cylinder_sat_typo

Fix typo in cylinder-cylinder SAT collision solver
This commit is contained in:
Rémi Verschelde 2022-12-06 17:44:10 +01:00 committed by GitHub
commit c241f1c523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}