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

    Reading collison force from two bodies and sending to C code

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

      Hello,

      Long time ago under the guidance of CPhillips I was able to command servo joint angles in sketchyphysics from C code. Now I want to read the collision force from sketchyphysics when two bodies collide and send it to my C code. So two parts to my questions
      1)How do I read collision force in the sketchyphysics ruby code?
      2)How do I send these read values back to my C code.

      Any help would be appreciated.

      Regards

      one-reply-to-this-post last-reply-time reply quote 0
      • Y Offline
        youthreewire
        last edited by

        Could someone please guide me on how to achieve this?

        one-reply-to-this-post last-reply-time reply quote 0
        • Y Offline
          youthreewire
          last edited by

          Could some one tell me how to solve this problem?

          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