Khronos Public Bugzilla
Bug 140 - <rigid_body>, its instance, and <shape> values may override each other
<rigid_body>, its instance, and <shape> values may override each other
Status: NEW
Product: COLLADA
Classification: Unclassified
Component: Specification
1.5.0
Macintosh Mac OS
: P3 enhancement
: Release 1.5.1
Assigned To: Fabrice Robinet
COLLADA Work Group email alias
: collada-phx
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-17 17:43 PDT by Ellen Finch
Modified: 2014-01-07 10:23 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ellen Finch 2009-04-17 17:43:00 PDT
The relationship among the mass (and some other) values in <rigid_body>, <instance_rigid_body>, and <shape> are sort of glossed over. Should be mentioned in more places.

1. In <inst_rig_body>:
  a. in Child elements for technique common section, add this to intro before table:

Any values specified in elements within the instance override the values for the same elements in the referenced <rigid_body>.

  b. Add section after child elements titled "Density, Mass, and Inertia Specification Rules". Content is just:
   Refer to <rigid_body> for details.

2. In <rigid_body> "Density, Mass, and Inertia" discussion:
  a. The final bullet starting "both the..." should not be a bullet.
  b. Add two more paragraphs:

NOTE: <instance_rigid_body> allows any or all child elements of <technique_common> to be overridden, or to be specified in the instance if they are not specified in the original <rigid_body>. In this case, the same preceding rules apply, using any available values from <instance_rigid_body> in place of the <rigid_body> values.

Initial angular and linear velocity for a rigid_body can be specified in <instance_rigid_body>.

3. In <shape>, add another paragraph to the Concepts:

NOTE: The values for <hollow>, <mass>, and <density> are ignored if the parent rigid body specifies its own mass and inertia. See "Density, Mass, and Inertia Specification Rules" in <rigid_body> for details.

4. Engineering, can you please confirm the first part of #3? (all 3 are ignored, and nothing else is ignored? e.g., trans/rot?)