Skip to content

Commit 8b42c3f

Browse files
Add release-notes snippet for the MJScene fixes
1 parent 74ea11d commit 8b42c3f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Fixed :ref:`MJScene<MJScene>` reporting a body's position pinned at the model reference pose when its mass changed (for example a depleting fuel tank); the integrator state is now restored after the per-step ``mj_setConst`` refresh.
2+
- Sped up :ref:`MJScene<MJScene>` equations-of-motion evaluation by caching the ``mjModel``/``mjData`` pointers for the duration of the call instead of re-fetching them through the recompile-checking accessor on every access.
3+
- Sped up the :ref:`MJScene<MJScene>` site velocity output by computing the body-frame angular velocity from a single ``mj_objectVelocity`` call instead of two.

0 commit comments

Comments
 (0)