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:
Ricardo Buring
2022-09-04 10:32:21 +02:00
parent ecb89bfbd5
commit d22ff48b3d
10 changed files with 1890 additions and 1 deletions

View File

@@ -1058,6 +1058,8 @@
</constant>
<constant name="JOINT_PARAM_MAX_FORCE" value="2" enum="JointParam">
</constant>
<constant name="PIN_JOINT_SOFTNESS" value="0" enum="PinJointParam">
</constant>
<constant name="DAMPED_SPRING_REST_LENGTH" value="0" enum="DampedSpringParam">
Sets the resting length of the spring joint. The joint will always try to go to back this length when pulled apart.
</constant>