|
@@ -224,7 +224,7 @@ public:
|
|
|
bool body_test_motion(RID p_body,const Vector2& p_motion,float p_margin=0.001,MotionResult *r_result=NULL) {
|
|
|
|
|
|
ERR_FAIL_COND_V(main_thread!=Thread::get_caller_ID(),false);
|
|
|
- return body_test_motion(p_body,p_motion,p_margin,r_result);
|
|
|
+ return physics_2d_server->body_test_motion(p_body,p_motion,p_margin,r_result);
|
|
|
}
|
|
|
|
|
|
/* JOINT API */
|