Fix bug in implementation of torquescale
PiperOrigin-RevId: 577466789 Change-Id: I3c8e5dd9b4af9a629e777f7ccad8417075b0046c
This commit is contained in:
committed by
Copybara-Service
parent
930c707e00
commit
86d9c84e59
@@ -4486,11 +4486,12 @@ of the other body, without any joint elements in the child body.
|
||||
.. _equality-weld-torquescale:
|
||||
|
||||
:at:`torquescale`: :at-val:`real, "1"`
|
||||
Relative torque-to-force ratio. This ratio is used by the weld to scale how much it "cares" about rotational
|
||||
displacements vs. translational displacements. Setting this value to 0 makes the :el:`weld` behave like a
|
||||
:el:`connect` constraint. Note that this value has units of length and can therefore be interpreted as follows.
|
||||
Imagining that the weld is implemented by a patch of glue sticking the two bodies together, :at:`torquescale` can be
|
||||
interpreted as the diameter of this glue patch.
|
||||
A constant that scales the angular residual (angular constraint violation). Notionally in units of
|
||||
:math:`\textrm{torque}/\textrm{force}=\textrm{length}`. Intuitively this coefficient defines how much the weld
|
||||
"cares" about rotational displacements vs. translational displacements. Setting this value to 0 makes the :el:`weld`
|
||||
behave like a :el:`connect` constraint. Note that this value has units of length and can therefore be understood as
|
||||
follows. Imagining that the weld is implemented by a flat patch of glue sticking the two bodies together,
|
||||
:at:`torquescale` can be interpreted as the diameter of this glue patch.
|
||||
|
||||
|
||||
.. _equality-joint:
|
||||
|
||||
+4
-2
@@ -25,16 +25,18 @@ Python bindings
|
||||
|
||||
Simulate
|
||||
^^^^^^^^
|
||||
|
||||
6. :ref:`simulate<saSimulate>`: correct handling of "Pause update", "Fullscreen" and "VSync" buttons.
|
||||
|
||||
Documentation
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
7. Added documentation for the :ref:`UI` framework.
|
||||
8. Fixed typos and supported fields in docs (fixes :github:issue:`1105` and :github:issue:`1106`).
|
||||
|
||||
|
||||
Bug fixes
|
||||
^^^^^^^^^
|
||||
9. Fixed bug relating to welds modified with :ref:`torquescale<equality-weld-torquescale>`.
|
||||
|
||||
Version 3.0.0 (October 18, 2023)
|
||||
--------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user