sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Grouped joints messes up collision detection

    scheduled pinned locked moved SketchyPhysics
    2 Posts 1 Posters 7.4k Views 1 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • P Offline
      protective1
      last edited by

      The grouping required for making joints seems to conflict with collision detection.

      If I do the following:

      1. make a joint between object A & B,
      2. attach the joint to object A,
      3. group the joint with object B,
        then the collision detection for object B gets broken.

      In the attached file, I've have linked three boxes, and the two joints are grouped with the box in the middle. Notice that the middle box can pass through the outer two boxes (no collision detection). What am I doing wrong that prevents the middle box from having proper collision detection?


      3 objects connected by joints. collision detection for middle object is strangely broken - it can incorrectly pass through the outer objects.

      one-reply-to-this-post last-reply-time reply quote 0
      • P Offline
        protective1
        last edited by

        I found out that there is a setting on each joint (as seen in the SketchyPhysics Inspector) called "ConnectedCollide" which is disabled by default. This setting must be checked for objects connected to the joint to undergo full collision checking.

        one-reply-to-this-post last-reply-time reply quote 0
        • 1 / 1
        • first-post
          last-post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement