summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-02 12:46:36 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-02 12:46:36 +0200
commita6a7325e3abef511527bc7050fe4bd81b44824cf (patch)
tree5c16447bb672a38ba05d380ca8ca552e02c2266e
parent9cb3a16a8e6958d3b27e8fe5a7dc2e5eafc567c2 (diff)
parent24bdd0b9c1420fbb53d8fe0d0f18383f1bd8614b (diff)
downloadredot-engine-a6a7325e3abef511527bc7050fe4bd81b44824cf.tar.gz
Merge pull request #91127 from CrayolaEater/hinge-joint-cleanup
Deprecate unused parameter `angular_limit/softness` in `HingeJoint3D`
-rw-r--r--doc/classes/HingeJoint3D.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/HingeJoint3D.xml b/doc/classes/HingeJoint3D.xml
index d150c79b78..f794853caf 100644
--- a/doc/classes/HingeJoint3D.xml
+++ b/doc/classes/HingeJoint3D.xml
@@ -53,7 +53,7 @@
<member name="angular_limit/relaxation" type="float" setter="set_param" getter="get_param" default="1.0">
The lower this value, the more the rotation gets slowed down.
</member>
- <member name="angular_limit/softness" type="float" setter="set_param" getter="get_param" default="0.9">
+ <member name="angular_limit/softness" type="float" setter="set_param" getter="get_param" default="0.9" deprecated="This property is never set by the engine and is kept for compatibility purposes.">
</member>
<member name="angular_limit/upper" type="float" setter="set_param" getter="get_param" default="1.5708">
The maximum rotation. Only active if [member angular_limit/enable] is [code]true[/code].
@@ -84,7 +84,7 @@
<constant name="PARAM_LIMIT_BIAS" value="3" enum="Param">
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
</constant>
- <constant name="PARAM_LIMIT_SOFTNESS" value="4" enum="Param">
+ <constant name="PARAM_LIMIT_SOFTNESS" value="4" enum="Param" deprecated="This property is never used by the engine and is kept for compatibility purpose.">
</constant>
<constant name="PARAM_LIMIT_RELAXATION" value="5" enum="Param">
The lower this value, the more the rotation gets slowed down.