diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-30 11:59:00 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-30 11:59:00 -0300 |
commit | 4613a3f2c0d8f060cac610e2a7a401aee2ece78f (patch) | |
tree | 4a2f4c935988137a9e8a6f7855582b9b9a3e5d97 /servers/physics_2d | |
parent | 95047562d743b1c1fdc007432c8a0c145a455c5d (diff) |
small fixes
Diffstat (limited to 'servers/physics_2d')
-rw-r--r-- | servers/physics_2d/space_2d_sw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics_2d/space_2d_sw.cpp b/servers/physics_2d/space_2d_sw.cpp index 9b69ab299d..767ad9038d 100644 --- a/servers/physics_2d/space_2d_sw.cpp +++ b/servers/physics_2d/space_2d_sw.cpp @@ -657,8 +657,8 @@ bool Space2DSW::test_body_motion(Body2DSW *p_body,const Vector2&p_motion,float p const Body2DSW *body=static_cast<const Body2DSW*>(col_obj); Vector2 cdir = body->get_one_way_collision_direction(); - if (cdir!=Vector2() && p_motion.dot(cdir)<0) - continue; + //if (cdir!=Vector2() && p_motion.dot(cdir)<0) + // continue; cbk.valid_dir=cdir; cbk.valid_depth=body->get_one_way_collision_max_depth(); |