diff options
author | MarianoGNU <marianognu.easyrpg@gmail.com> | 2015-10-17 23:38:33 -0300 |
---|---|---|
committer | MarianoGNU <marianognu.easyrpg@gmail.com> | 2015-10-17 23:38:33 -0300 |
commit | 4452e262539ad9d52a5980305584d897829986d1 (patch) | |
tree | cde7f3bdc36e727a21f55938a131083f84e043a6 /servers/physics_2d/physics_2d_server_sw.h | |
parent | 68fb30aaea0acf3ff279831d2d77b2e7129e4b69 (diff) | |
parent | 97f483af0a3e040f73c2df957bd092af2f6c085b (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'servers/physics_2d/physics_2d_server_sw.h')
-rw-r--r-- | servers/physics_2d/physics_2d_server_sw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/physics_2d/physics_2d_server_sw.h b/servers/physics_2d/physics_2d_server_sw.h index 605e04ead8..b2c58b788e 100644 --- a/servers/physics_2d/physics_2d_server_sw.h +++ b/servers/physics_2d/physics_2d_server_sw.h @@ -243,6 +243,8 @@ public: virtual RID pin_joint_create(const Vector2& p_pos,RID p_body_a,RID p_body_b=RID()); virtual RID groove_joint_create(const Vector2& p_a_groove1,const Vector2& p_a_groove2, const Vector2& p_b_anchor, RID p_body_a,RID p_body_b); virtual RID damped_spring_joint_create(const Vector2& p_anchor_a,const Vector2& p_anchor_b,RID p_body_a,RID p_body_b=RID()); + virtual void pin_joint_set_param(RID p_joint, PinJointParam p_param, real_t p_value); + virtual real_t pin_joint_get_param(RID p_joint, PinJointParam p_param) const; virtual void damped_string_joint_set_param(RID p_joint, DampedStringParam p_param, real_t p_value); virtual real_t damped_string_joint_get_param(RID p_joint, DampedStringParam p_param) const; |