diff options
Diffstat (limited to 'servers/physics_server.cpp')
| -rw-r--r-- | servers/physics_server.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/servers/physics_server.cpp b/servers/physics_server.cpp index a3efe76e13..88cd728a94 100644 --- a/servers/physics_server.cpp +++ b/servers/physics_server.cpp @@ -481,6 +481,9 @@ void PhysicsServer::_bind_methods() {  	ClassDB::bind_method(D_METHOD("body_set_param", "body", "param", "value"), &PhysicsServer::body_set_param);  	ClassDB::bind_method(D_METHOD("body_get_param", "body", "param"), &PhysicsServer::body_get_param); +	ClassDB::bind_method(D_METHOD("body_set_kinematic_safe_margin", "body", "margin"), &PhysicsServer::body_set_kinematic_safe_margin); +	ClassDB::bind_method(D_METHOD("body_get_kinematic_safe_margin", "body"), &PhysicsServer::body_get_kinematic_safe_margin); +  	ClassDB::bind_method(D_METHOD("body_set_state", "body", "state", "value"), &PhysicsServer::body_set_state);  	ClassDB::bind_method(D_METHOD("body_get_state", "body", "state"), &PhysicsServer::body_get_state); @@ -675,6 +678,7 @@ void PhysicsServer::_bind_methods() {  	BIND_ENUM_CONSTANT(BODY_MODE_STATIC);  	BIND_ENUM_CONSTANT(BODY_MODE_KINEMATIC);  	BIND_ENUM_CONSTANT(BODY_MODE_RIGID); +	BIND_ENUM_CONSTANT(BODY_MODE_SOFT);  	BIND_ENUM_CONSTANT(BODY_MODE_CHARACTER);  	BIND_ENUM_CONSTANT(BODY_PARAM_BOUNCE); |