sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    How to bind a model and a joint with key trigger in MSphysic

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    2 Posts 1 Posters 2.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3 Offline
      3Dwudi
      last edited by

      Hi!
      I tried to bind an object to the specified joint in msphysics by pressing a key, but I tried for a long time and failed. I couldn’t understand it after reading the manual,

      I don’t understand how to release one of the models bound on the specified joint!

      https://aws1.discourse-cdn.com/sketchup/original/3X/f/7/f73b210cecd5e8a2617125229bb8b23d0dd4c0b7.jpeg


      key tigger connect Su2014.skp

      1 Reply Last reply Reply Quote 0
      • 3 Offline
        3Dwudi
        last edited by

        😳 is there anyone can help me?
        my scriptcode is ________________________

        onKeyDown {|key, val, char|
        bx = simulation.find_body_by_name('bx')
        jw = simulation.find_joint_by_name('jw')

        jw.connect(bx) #but it's wrong
        }

        1 Reply Last reply 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