Add mjs_attachToSite for attaching a body to a site.
PiperOrigin-RevId: 684432183 Change-Id: I7100bebfb6521f9dbfbb07f31490b2b9298bf18c
This commit is contained in:
committed by
Copybara-Service
parent
694bdebc19
commit
cdb167f275
@@ -3813,6 +3813,15 @@ mjs_attachFrame
|
||||
|
||||
Attach child frame to a parent body, return the attached frame if success or NULL otherwise.
|
||||
|
||||
.. _mjs_attachToSite:
|
||||
|
||||
mjs_attachToSite
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mjs_attachToSite
|
||||
|
||||
Attach child body to a parent site, return the attached body if success or NULL otherwise.
|
||||
|
||||
.. _mjs_detachBody:
|
||||
|
||||
mjs_detachBody
|
||||
@@ -4126,15 +4135,6 @@ mjs_getSpec
|
||||
|
||||
Get spec from body.
|
||||
|
||||
.. _mjs_getSpecFromFrame:
|
||||
|
||||
mjs_getSpecFromFrame
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mjs_getSpecFromFrame
|
||||
|
||||
Get spec from frame.
|
||||
|
||||
.. _mjs_findBody:
|
||||
|
||||
mjs_findBody
|
||||
|
||||
Reference in New Issue
Block a user