diff options
author | Ricardo Buring <ricardo.buring@gmail.com> | 2023-04-08 20:37:12 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-04-24 14:04:19 +0200 |
commit | deb22e2381122cbd528f7deb01b6ea72d88d2d5e (patch) | |
tree | ee1b41bf16fbc210c84446d39faf289f069e9aab /servers | |
parent | 4616de0c5d6bcf4abe637e515eae2064e8f054a5 (diff) |
Fix typo bug in convex-convex separating axis test
(cherry picked from commit d7aed57b60a06a46a8495b5c605c078fe72a220b)
Diffstat (limited to 'servers')
-rw-r--r-- | servers/physics_3d/godot_collision_solver_3d_sat.cpp | 2 |
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 2cb29b3dd0..92a4d47cd3 100644 --- a/servers/physics_3d/godot_collision_solver_3d_sat.cpp +++ b/servers/physics_3d/godot_collision_solver_3d_sat.cpp @@ -2065,7 +2065,7 @@ static void _collision_convex_polygon_convex_polygon(const GodotShape3D *p_a, co int vertex_count_B = mesh_B.vertices.size(); // Precalculating this makes the transforms faster. - Basis a_xform_normal = p_transform_b.basis.inverse().transposed(); + Basis a_xform_normal = p_transform_a.basis.inverse().transposed(); // faces of A for (int i = 0; i < face_count_A; i++) { |