aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_2d_server.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-01-13 10:49:26 -0300
committerJuan Linietsky2015-01-13 10:49:26 -0300
commit2ef5a342e34df3863ac512bb3673eba28f15e9f4 (patch)
treeedb5abbc25afce7fb23d704070d43968cf4d9b33 /servers/physics_2d_server.h
parent30d36581100f0bf71c6d2502be9a03443bdf8708 (diff)
downloadgodot-2ef5a342e34df3863ac512bb3673eba28f15e9f4.tar.gz
godot-2ef5a342e34df3863ac512bb3673eba28f15e9f4.tar.zst
godot-2ef5a342e34df3863ac512bb3673eba28f15e9f4.zip
Diffstat (limited to 'servers/physics_2d_server.h')
-rw-r--r--servers/physics_2d_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/physics_2d_server.h b/servers/physics_2d_server.h
index 6e53cde55..008b25e7d 100644
--- a/servers/physics_2d_server.h
+++ b/servers/physics_2d_server.h
@@ -442,6 +442,9 @@ public:
virtual void body_set_max_contacts_reported(RID p_body, int p_contacts)=0;
virtual int body_get_max_contacts_reported(RID p_body) const=0;
+ virtual void body_set_one_way_collision_direction(RID p_body,const Vector2& p_direction)=0;
+ virtual Vector2 body_get_one_way_collision_direction(RID p_body) const=0;
+
//missing remove
virtual void body_set_contacts_reported_depth_treshold(RID p_body, float p_treshold)=0;
virtual float body_get_contacts_reported_depth_treshold(RID p_body) const=0;