diff options
| author | Juan Linietsky | 2014-02-19 11:57:14 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-02-19 11:57:14 -0300 |
| commit | d7d65fa2f2b51d03f7bdfcbceedca99188ce979c (patch) | |
| tree | fecdf1bfa39ba5a4895b4dbf340a3b68098c109a /bin/tests/test_physics_2d.cpp | |
| parent | 8c1731b67995add31361ae526b0e6af76346181e (diff) | |
| download | godot-d7d65fa2f2b51d03f7bdfcbceedca99188ce979c.tar.gz godot-d7d65fa2f2b51d03f7bdfcbceedca99188ce979c.tar.zst godot-d7d65fa2f2b51d03f7bdfcbceedca99188ce979c.zip | |
Diffstat (limited to 'bin/tests/test_physics_2d.cpp')
| -rw-r--r-- | bin/tests/test_physics_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/tests/test_physics_2d.cpp b/bin/tests/test_physics_2d.cpp index db7f6ea37..b2ad1d9ee 100644 --- a/bin/tests/test_physics_2d.cpp +++ b/bin/tests/test_physics_2d.cpp @@ -270,6 +270,7 @@ protected: RID body = ps->body_create(); ps->body_add_shape(body,body_shape_data[p_shape].shape); ps->body_set_space(body,space); + ps->body_set_continuous_collision_detection_mode(body,Physics2DServer::CCD_MODE_CAST_SHAPE); ps->body_set_state(body,Physics2DServer::BODY_STATE_TRANSFORM,p_xform); // print_line("add body with xform: "+p_xform); |
