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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue