summaryrefslogtreecommitdiff
path: root/servers/physics_3d
diff options
context:
space:
mode:
authorRicardo Buring <ricardo.buring@gmail.com>2022-12-06 16:43:45 +0100
committerRicardo Buring <ricardo.buring@gmail.com>2022-12-06 16:43:45 +0100
commite2b013380d5dc746bafbc6b15b2b00ec54950dd6 (patch)
treea0113046c1de9811b41b1d5329fbd082a29ff949 /servers/physics_3d
parenta8a88194a5cf5849d421aaec05beddbc437ebbcd (diff)
Fix typo in cylinder-cylinder SAT collision solver
Diffstat (limited to 'servers/physics_3d')
-rw-r--r--servers/physics_3d/godot_collision_solver_3d_sat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_3d/godot_collision_solver_3d_sat.cpp b/servers/physics_3d/godot_collision_solver_3d_sat.cpp
index 96253cb452..8c78957789 100644
--- a/servers/physics_3d/godot_collision_solver_3d_sat.cpp
+++ b/servers/physics_3d/godot_collision_solver_3d_sat.cpp
@@ -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;
}