Merge pull request #65321 from rburing/physics_server_2d_extension

Create GDExtension classes for PhysicsServer2D
This commit is contained in:
Rémi Verschelde 2022-09-05 12:44:58 +02:00 committed by GitHub
commit 6c818da55e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 1890 additions and 1 deletions

View file

@ -850,6 +850,8 @@ void PhysicsServer2D::_bind_methods() {
BIND_ENUM_CONSTANT(JOINT_PARAM_MAX_BIAS);
BIND_ENUM_CONSTANT(JOINT_PARAM_MAX_FORCE);
BIND_ENUM_CONSTANT(PIN_JOINT_SOFTNESS);
BIND_ENUM_CONSTANT(DAMPED_SPRING_REST_LENGTH);
BIND_ENUM_CONSTANT(DAMPED_SPRING_STIFFNESS);
BIND_ENUM_CONSTANT(DAMPED_SPRING_DAMPING);