Closed Ughuuu closed 1 year ago
The default value is 1.5 in the physics server. What you're referring to is the default value of the DampedSpringJoint2D
node.
Interesting, thanks. Do you know where that value of 1.5 is used at?
For manually created springs, using joint_create
+ joint_make_damped_spring
These discrepancies between the node types and the server types can be confusing, but they can't be changed because they would break compatibility, and they are documented (largely) so they are clear
Godot version
4.2
System information
Macos with m1
Issue description
In the class
PhysicsServer2D
at enumDampedSpringParam
, the description for the enum valueDAMPED_SPRING_DAMPING
is:However it seems that the default value for damped spring damping is 1, not 1.5.
Steps to reproduce
Read documentation of PhysicsServer2D.damped_spring_joint_set_param and go to DampedSpringParam.
Minimal reproduction project
N/A