Khronos Public Bugzilla
Bug 127 - <physics_material> example has extraneous line and formatting issue
<physics_material> example has extraneous line and formatting issue
Status: NEW
Product: COLLADA
Classification: Unclassified
Component: Specification
1.5.0
Macintosh Mac OS
: P3 normal
: Release 1.5.1
Assigned To: Fabrice Robinet
COLLADA Work Group email alias
: collada-phx
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-09 22:48 PDT by Ellen Finch
Modified: 2014-01-07 10:30 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-09 22:48:04 PDT
1. <physics_material> example example shows <shape> containing both <physics_material> and <instance_physics_material>. Invalid per schema. remove instance line. Current example: 

<rigid_body id="bouncy_ball"> 
  <shape> 
    <sphere>  <radius> 1 </radius> </sphere> 
    <instance_physics_material url="#my_physics_material" /> 
    <physics_material id="bouncy_material"> 
      <technique_common> 
          <dynamic_friction> 0.12 </dynamic_friction> 
        <restitution> 0.05 </restitution> 
          <static_friction> 0.23 </static_friction> 
      </technique_common> 
    </physics_material> 
  </shape> 
</rigid_body> 


2. Bolding in example seems to be inverse of regular; everything between and including <physics_material>  and </physics_material> shd be bold; everything outside shd not be bold.