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
--[BE Week] Articulated Object Loading refactors and cleanup (#2291)
* --initial commit
Add 'applyScaleToMass' method to determine whether geometric scaling should be applied to mass calc for objects as well as articulated objects
* --remove unused urdf-related add function
* --update docs
* --add tests
* --remove unused addArticulatedObjectFromURDF method
Copy file name to clipboardexpand all lines: docs/pages/attributesJSON.rst
+6
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,9 @@ All rigid and articulated objects instanced in the scene during initialization s
189
189
- "non_uniform_scale"
190
190
- 3-vector
191
191
- A non-uniform scale vector to apply in addition to the uniform scale.
192
+
"apply_scale_to_mass"
193
+
- boolean
194
+
- Whether or not to apply the product of the geometric scaling to the mass.
192
195
- "translation_origin"
193
196
- string
194
197
- One of ('COM', 'asset_local'). Defines whether the translation provided for this object instance is applied in render asset local space or center of mass (COM) aligned space. All rigid object translations within Habitat-sim are in COM space, but external translations (e.g. exported from Blender) may not be.
@@ -223,6 +226,9 @@ All rigid and articulated objects instanced in the scene during initialization s
223
226
- "mass_scale"
224
227
- float
225
228
- Mass does not scale linearly with object scale, so you can customize this.
229
+
"apply_scale_to_mass"
230
+
- boolean
231
+
- Whether or not to apply the product of the geometric scaling to the mass. This is in addition to any scaling specified via "mass_scale" .
226
232
- "translation_origin"
227
233
- string
228
234
- One of ('COM', 'asset_local'). Defines whether the translation provided for this object instance is applied in render asset local space or center of mass (COM) aligned space.
0 commit comments