aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_server.cpp
diff options
context:
space:
mode:
authorGeoffrey2018-03-16 13:07:52 +0100
committerGeoffrey2018-03-16 13:37:15 +0100
commit09c887f38eeb4de22c90e54e3ff02eaf2f32d1ae (patch)
tree58048e9a48af5d0d021785b70f3649e4e780d0cd /servers/physics_server.cpp
parentcc617dc5d117cb2c979de6fb76c64620ab7cf04f (diff)
downloadgodot-09c887f38eeb4de22c90e54e3ff02eaf2f32d1ae.tar.gz
godot-09c887f38eeb4de22c90e54e3ff02eaf2f32d1ae.tar.zst
godot-09c887f38eeb4de22c90e54e3ff02eaf2f32d1ae.zip
Diffstat (limited to 'servers/physics_server.cpp')
-rw-r--r--servers/physics_server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/physics_server.cpp b/servers/physics_server.cpp
index f01a4c2f6..08af26c24 100644
--- a/servers/physics_server.cpp
+++ b/servers/physics_server.cpp
@@ -603,6 +603,8 @@ void PhysicsServer::_bind_methods() {
BIND_ENUM_CONSTANT(G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS);
BIND_ENUM_CONSTANT(G6DOF_JOINT_LINEAR_RESTITUTION);
BIND_ENUM_CONSTANT(G6DOF_JOINT_LINEAR_DAMPING);
+ BIND_ENUM_CONSTANT(G6DOF_JOINT_LINEAR_MOTOR_TARGET_VELOCITY);
+ BIND_ENUM_CONSTANT(G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT);
BIND_ENUM_CONSTANT(G6DOF_JOINT_ANGULAR_LOWER_LIMIT);
BIND_ENUM_CONSTANT(G6DOF_JOINT_ANGULAR_UPPER_LIMIT);
BIND_ENUM_CONSTANT(G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS);
@@ -616,6 +618,7 @@ void PhysicsServer::_bind_methods() {
BIND_ENUM_CONSTANT(G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT);
BIND_ENUM_CONSTANT(G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT);
BIND_ENUM_CONSTANT(G6DOF_JOINT_FLAG_ENABLE_MOTOR);
+ BIND_ENUM_CONSTANT(G6DOF_JOINT_FLAG_ENABLE_LINEAR_MOTOR);
ClassDB::bind_method(D_METHOD("joint_get_type", "joint"), &PhysicsServer::joint_get_type);