You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Create GDExtension classes for PhysicsServer2D
This allows a 2D physics server created entirely from GDExtension. Based on the structure of PhysicsServer3DExtension by reduz.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user