Results 1 to 2 of 2

Thread: Math relationships between analytical shapes

  1. #1
    Junior Member
    Join Date
    Feb 2009

    Math relationships between analytical shapes

    Does Collada, without using extra elements, support math relationships between analytical shapes?

    For instance if one has a box and a tapered_cylinder and wishes to put the tapered_cylinder inside the box and subtract it so that there is a cylinder hole in the box. Can Collada 1.5.0 support this? I am interested in Analytical shapes only and not meshes.

    Bruce Forsberg

  2. #2
    Senior Member
    Join Date
    Aug 2004

    Re: Math relationships between analytical shapes

    Certainly you can position the two shapes as you describe, one inside the other.

    The <shape> has a <hollow> flag that you could use as a hint to do the CSG calculation. I think you would need some <extra> meta data to define the algebra though; either on the <rigid_body>, <shape> or the <physics_material> depending on your approach.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts