mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
ecb89bfbd5
commit
d22ff48b3d
10 changed files with 1890 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue