Return attached body/frame in mjs_attachBody/Frame.

PiperOrigin-RevId: 679601525
Change-Id: Icdc4616808e14bf0a3ebc17d89392382d084c31b
This commit is contained in:
Alessio Quaglino
2024-09-27 08:32:52 -07:00
committed by Copybara-Service
parent 176345b4e1
commit 25e4d75a07
11 changed files with 67 additions and 45 deletions
+2 -2
View File
@@ -3793,7 +3793,7 @@ mjs_attachBody
.. mujoco-include:: mjs_attachBody
Attach child body to a parent frame, return 0 on success.
Attach child body to a parent frame, return the attached body if success or NULL otherwise.
.. _mjs_attachFrame:
@@ -3802,7 +3802,7 @@ mjs_attachFrame
.. mujoco-include:: mjs_attachFrame
Attach child frame to a parent body, return 0 on success.
Attach child frame to a parent body, return the attached frame if success or NULL otherwise.
.. _mjs_detachBody: