Merge pull request #69671 from rburing/cylinder-cylinder_sat_typo
Fix typo in cylinder-cylinder SAT collision solver
This commit is contained in:
commit
c241f1c523
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue