You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/designingDynamicSimulations.htm
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,9 @@ <h2>
56
56
<pclass=imageLabel>[Static/non-static, respondable/non-respondable shape behaviors and interactions]</p>
57
57
<br>
58
58
59
-
<p>Two respondable shapes will always produce a collision reaction, unless their respective collision masks don't overlap. Static/non-static, respondable/non-respondable shape properties, as well as collision masks can be set in the <ahref="shapeDynamicsProperties.htm">shape dynamics dialog</a>.<br>
60
-
</p>
59
+
<p>Two respondable shapes will always produce a collision reaction, unless their respective collision masks don't overlap. Static/non-static, respondable/non-respondable shape properties, as well as collision masks can be set in the <ahref="shapeDynamicsProperties.htm">shape dynamics dialog</a>.</p>
60
+
61
+
<p>Note: in MuJoCo, static shapes (<em>mocap</em> bodies) do not transmit friction forces. For that reason will static shapes in MuJoCo always be represented as a <em>mocap</em> body linked to a non-static free body via a <em>weld</em> constraint (unless the static shape's <ahref="propertiesReference.htm#kinematic">kinematic</a> property is set to false).</p>
61
62
62
63
<br>
63
64
@@ -95,6 +96,7 @@ <h2>
95
96
<pclass=imageLabel>[Dynamic overlap constraint, that rigidly binds two shapes]</p>
96
97
<br>
97
98
99
+
<p>Note: in MuJoCo, loop closures are handled via <em>weld</em> constraints that can appear soft or wobbly, depending on the setup. Stiffness/rigidity of the related <em>weld</em> constraint can be adjusted via the <ahref="propertiesReference.htm#mujoco.overlapConstrSolref">mujoco.overlapConstrSolref</a>, <ahref="propertiesReference.htm#mujoco.overlapConstrSolimp">mujoco.overlapConstrSolimp</a> and <ahref="propertiesReference.htm#mujoco.overlapConstrTorquescale">mujoco.overlapConstrTorquescale</a> dummy properties (the average values are taken between both dummy properties).</p>
<dt><divclass="mujoco.kinematicBodiesInertia"><aname="mujoco.kinematicBodiesInertia"></a><strong>mujoco.kinematicBodiesInertia</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
174
174
<dt><divclass="mujoco.kinematicBodiesMass"><aname="mujoco.kinematicBodiesMass"></a><strong>mujoco.kinematicBodiesMass</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
175
175
<dt><divclass="mujoco.kinematicBodiesOverrideFlags"><aname="mujoco.kinematicBodiesOverrideFlags"></a><strong>mujoco.kinematicBodiesOverrideFlags</strong> (int):</div></dt><dd>Refer to engine's documentation</dd>
176
+
<dt><divclass="mujoco.kinematicWeldSolimp"><aname="mujoco.kinematicWeldSolimp"></a><strong>mujoco.kinematicWeldSolimp</strong> (double[]):</div></dt><dd>Refer to engine's documentation</dd>
177
+
<dt><divclass="mujoco.kinematicWeldSolref"><aname="mujoco.kinematicWeldSolref"></a><strong>mujoco.kinematicWeldSolref</strong> (double[]):</div></dt><dd>Refer to engine's documentation</dd>
178
+
<dt><divclass="mujoco.kinematicWeldTorquescale"><aname="mujoco.kinematicWeldTorquescale"></a><strong>mujoco.kinematicWeldTorquescale</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
176
179
<dt><divclass="mujoco.limitEnable"><aname="mujoco.limitEnable"></a><strong>mujoco.limitEnable</strong> (bool):</div></dt><dd>Refer to engine's documentation</dd>
177
180
<dt><divclass="mujoco.ls_iterations"><aname="mujoco.ls_iterations"></a><strong>mujoco.ls_iterations</strong> (int):</div></dt><dd>Refer to engine's documentation</dd>
178
181
<dt><divclass="mujoco.ls_tolerance"><aname="mujoco.ls_tolerance"></a><strong>mujoco.ls_tolerance</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
<h2><aname="shape"></a>Shape properties <spanstyle="font-size: 60%;">(target is a shape)</span></h2>
324
327
<divclass="constList">
325
328
<dlclass="grid-list">
329
+
<dt><divclass="applyColor.diffuse"><aname="applyColor.diffuse"></a><strong>applyColor.diffuse</strong> (color (float[3]), not readable):</div></dt><dd>Applies the diffuse color component to all contained meshes</dd>
330
+
<dt><divclass="applyColor.emission"><aname="applyColor.emission"></a><strong>applyColor.emission</strong> (color (float[3]), not readable):</div></dt><dd>Applies the emission color component to all contained meshes</dd>
331
+
<dt><divclass="applyColor.specular"><aname="applyColor.specular"></a><strong>applyColor.specular</strong> (color (float[3]), not readable):</div></dt><dd>Applies the specular color component to all contained meshes</dd>
332
+
<dt><divclass="applyColor.transparency"><aname="applyColor.transparency"></a><strong>applyColor.transparency</strong> (double, not readable):</div></dt><dd>Applies transparency to all contained meshes</dd>
326
333
<dt><divclass="applyCulling"><aname="applyCulling"></a><strong>applyCulling</strong> (bool, not readable):</div></dt><dd>Enables/disables culling for all contained meshes</dd>
327
334
<dt><divclass="applyShadingAngle"><aname="applyShadingAngle"></a><strong>applyShadingAngle</strong> (double, not readable):</div></dt><dd>Applies a shading angle to all contained meshes</dd>
328
335
<dt><divclass="applyShowEdges"><aname="applyShowEdges"></a><strong>applyShowEdges</strong> (bool, not readable):</div></dt><dd>Enables/disables edges for all contained meshes</dd>
<dt><divclass="bullet.restitution"><aname="bullet.restitution"></a><strong>bullet.restitution</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
339
346
<dt><divclass="bullet.stickyContact"><aname="bullet.stickyContact"></a><strong>bullet.stickyContact</strong> (bool):</div></dt><dd>Refer to engine's documentation</dd>
340
347
<dt><divclass="centerOfMass"><aname="centerOfMass"></a><strong>centerOfMass</strong> (vector[3]):</div></dt><dd>Center of mass, relative to the shape's reference frame</dd>
348
+
<dt><divclass="compound"><aname="compound"></a><strong>compound</strong> (bool, not writable):</div></dt><dd>Whether the shape is a compound</dd>
341
349
<dt><divclass="convex"><aname="convex"></a><strong>convex</strong> (bool, not writable):</div></dt><dd>Whether the shape's components are all convex or not</dd>
342
350
<dt><divclass="dynAngularVelocity"><aname="dynAngularVelocity"></a><strong>dynAngularVelocity</strong> (vector[3], not writable):</div></dt><dd>Rotational velocity, as transmitted by the physics engine</dd>
343
351
<dt><divclass="dynLinearVelocity"><aname="dynLinearVelocity"></a><strong>dynLinearVelocity</strong> (vector[3], not writable):</div></dt><dd>Linear velocity, as transmitted by the physics engine</dd>
<dt><divclass="ode.softCfm"><aname="ode.softCfm"></a><strong>ode.softCfm</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
379
387
<dt><divclass="ode.softErp"><aname="ode.softErp"></a><strong>ode.softErp</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
380
388
<dt><divclass="pmiQuaternion"><aname="pmiQuaternion"></a><strong>pmiQuaternion</strong> (<ahref="positionOrientationTransformation.htm#quaternion">quaternion</a>, not writable):</div></dt><dd>Quaternion of the principal moment of inertia, relative to the shape's reference frame</dd>
389
+
<dt><divclass="primitive"><aname="primitive"></a><strong>primitive</strong> (bool, not writable):</div></dt><dd>Whether the shape's components are all primitives</dd>
381
390
<dt><divclass="principalMomentOfInertia"><aname="principalMomentOfInertia"></a><strong>principalMomentOfInertia</strong> (double[], not writable):</div></dt><dd>Principal moment of inertia, relative to pmiQuaternion</dd>
382
391
<dt><divclass="respondable"><aname="respondable"></a><strong>respondable</strong> (bool):</div></dt><dd>Shape will transmit a collision force</dd>
<dt><divclass="mujoco.limitsSolimp"><aname="mujoco.limitsSolimp"></a><strong>mujoco.limitsSolimp</strong> (double[]):</div></dt><dd>Refer to engine's documentation</dd>
569
578
<dt><divclass="mujoco.limitsSolref"><aname="mujoco.limitsSolref"></a><strong>mujoco.limitsSolref</strong> (double[]):</div></dt><dd>Refer to engine's documentation</dd>
570
579
<dt><divclass="mujoco.margin"><aname="mujoco.margin"></a><strong>mujoco.margin</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
580
+
<dt><divclass="mujoco.overlapConstrSolimp"><aname="mujoco.overlapConstrSolimp"></a><strong>mujoco.overlapConstrSolimp</strong> (double[]):</div></dt><dd>Refer to engine's documentation</dd>
581
+
<dt><divclass="mujoco.overlapConstrSolref"><aname="mujoco.overlapConstrSolref"></a><strong>mujoco.overlapConstrSolref</strong> (double[]):</div></dt><dd>Refer to engine's documentation</dd>
582
+
<dt><divclass="mujoco.overlapConstrTorquescale"><aname="mujoco.overlapConstrTorquescale"></a><strong>mujoco.overlapConstrTorquescale</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
571
583
<dt><divclass="mujoco.springDamping"><aname="mujoco.springDamping"></a><strong>mujoco.springDamping</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
572
584
<dt><divclass="mujoco.springLength"><aname="mujoco.springLength"></a><strong>mujoco.springLength</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
573
585
<dt><divclass="mujoco.springStiffness"><aname="mujoco.springStiffness"></a><strong>mujoco.springStiffness</strong> (double):</div></dt><dd>Refer to engine's documentation</dd>
0 commit comments