aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_2d/space_2d_sw.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-09-01 12:03:55 -0300
committerJuan Linietsky2016-09-01 12:03:55 -0300
commit5fc084c28e912c54bf64645df3e6cf2cd2c30be6 (patch)
treeb4d6740cdc2d594aa22971ac1427be6136dbdaf1 /servers/physics_2d/space_2d_sw.h
parentfc70824f7c6ab1944d54194f54b816e55671e177 (diff)
downloadgodot-5fc084c28e912c54bf64645df3e6cf2cd2c30be6.tar.gz
godot-5fc084c28e912c54bf64645df3e6cf2cd2c30be6.tar.zst
godot-5fc084c28e912c54bf64645df3e6cf2cd2c30be6.zip
-Fixed issue in Kinematicbody2D
Diffstat (limited to 'servers/physics_2d/space_2d_sw.h')
-rw-r--r--servers/physics_2d/space_2d_sw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/space_2d_sw.h b/servers/physics_2d/space_2d_sw.h
index f8e1f3283..f58e8c3fe 100644
--- a/servers/physics_2d/space_2d_sw.h
+++ b/servers/physics_2d/space_2d_sw.h
@@ -184,7 +184,7 @@ public:
int get_collision_pairs() const { return collision_pairs; }
- bool test_body_motion(Body2DSW *p_body, const Vector2&p_motion, float p_margin, Physics2DServer::MotionResult *r_result);
+ bool test_body_motion(Body2DSW *p_body, const Matrix32 &p_from, const Vector2&p_motion, float p_margin, Physics2DServer::MotionResult *r_result);
void set_debug_contacts(int p_amount) { contact_debug.resize(p_amount); }