summaryrefslogtreecommitdiffstats
path: root/servers/extensions/physics_server_2d_extension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/extensions/physics_server_2d_extension.cpp')
-rw-r--r--servers/extensions/physics_server_2d_extension.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/extensions/physics_server_2d_extension.cpp b/servers/extensions/physics_server_2d_extension.cpp
index 96f09a8b1c..f8e78d655f 100644
--- a/servers/extensions/physics_server_2d_extension.cpp
+++ b/servers/extensions/physics_server_2d_extension.cpp
@@ -316,6 +316,9 @@ void PhysicsServer2DExtension::_bind_methods() {
GDVIRTUAL_BIND(_joint_make_groove, "joint", "a_groove1", "a_groove2", "b_anchor", "body_a", "body_b");
GDVIRTUAL_BIND(_joint_make_damped_spring, "joint", "anchor_a", "anchor_b", "body_a", "body_b");
+ GDVIRTUAL_BIND(_pin_joint_set_flag, "joint", "flag", "enabled");
+ GDVIRTUAL_BIND(_pin_joint_get_flag, "joint", "flag");
+
GDVIRTUAL_BIND(_pin_joint_set_param, "joint", "param", "value");
GDVIRTUAL_BIND(_pin_joint_get_param, "joint", "param");