summaryrefslogtreecommitdiff
path: root/doc/classes/ConeTwistJoint3D.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-08-22 11:30:48 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-08-23 11:57:44 +0200
commit2adfcc60e2a6ddd38da6392503c765904438a2a4 (patch)
treea263d8c0f74cb3728d8b4a00341aaaf956e04d37 /doc/classes/ConeTwistJoint3D.xml
parent7764151bc1bd320ef2af70fa5291782696b0027a (diff)
Joint3D: Remove utility method bindings for angular limits
The inspector now supports converting degrees to radians automatically when using the `radians` hint, so all those utility bindings were redundant. This cleans things up by making these properties with slash properly bound to `set_param`/`get_param` which the users can call with the relevant enum.
Diffstat (limited to 'doc/classes/ConeTwistJoint3D.xml')
-rw-r--r--doc/classes/ConeTwistJoint3D.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/ConeTwistJoint3D.xml b/doc/classes/ConeTwistJoint3D.xml
index 5f2ad109f2..1cfe9d197d 100644
--- a/doc/classes/ConeTwistJoint3D.xml
+++ b/doc/classes/ConeTwistJoint3D.xml
@@ -36,13 +36,13 @@
<member name="softness" type="float" setter="set_param" getter="get_param" default="0.8">
The ease with which the joint starts to twist. If it's too low, it takes more force to start twisting the joint.
</member>
- <member name="swing_span" type="float" setter="_set_swing_span" getter="_get_swing_span" default="45.0">
+ <member name="swing_span" type="float" setter="set_param" getter="get_param" default="0.785398">
Swing is rotation from side to side, around the axis perpendicular to the twist axis.
The swing span defines, how much rotation will not get corrected along the swing axis.
Could be defined as looseness in the [ConeTwistJoint3D].
If below 0.05, this behavior is locked.
</member>
- <member name="twist_span" type="float" setter="_set_twist_span" getter="_get_twist_span" default="180.0">
+ <member name="twist_span" type="float" setter="set_param" getter="get_param" default="3.14159">
Twist is the rotation around the twist axis, this value defined how far the joint can twist.
Twist is locked if below 0.05.
</member>