sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    One controller

    Scheduled Pinned Locked Moved SketchyPhysics
    21 Posts 3 Posters 2.2k Views 3 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.
    • H Offline
      hobbnob
      last edited by

      what scripts did you use?

      My WIP Thread:Here

      1 Reply Last reply Reply Quote 0
      • V Offline
        Vtec234
        last edited by

        well i used the hpnisse's script, now im trying yours

        1 Reply Last reply Reply Quote 0
        • V Offline
          Vtec234
          last edited by

          both don't work backward πŸ˜•

          1 Reply Last reply Reply Quote 0
          • H Offline
            hpnisse
            last edited by

            I've got both work correct both forward and backwards.

            Download and look this model.
            hpnisse vs hobbnob.skp

            I don't know what you did but here I got both working with the up/down arrowkeys at same time.

            Hope this helps understanding! πŸ˜„
            /hpnisse

            ` /hpnisse`
            ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

            1 Reply Last reply Reply Quote 0
            • V Offline
              Vtec234
              last edited by

              i checked it... and yea it works, but in my model, i think that its something with wheels... check this:
              Car

              1 Reply Last reply Reply Quote 0
              • H Offline
                hpnisse
                last edited by

                You use servo as motor, I changed it so all servo is the "motor" joint insted. and it work perfect. πŸ˜‰
                Then I use my script and changed some stuffs so it would be easy to change the speed.
                SamochΓ³d.skp

                To change the speed of the wheels then change the number "3" in the "Speed" box.

                
                if frame==1
                setVar("speed",3)
                end
                
                

                then it will work fine.

                /hpnisse

                ` /hpnisse`
                ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

                1 Reply Last reply Reply Quote 0
                • V Offline
                  Vtec234
                  last edited by

                  ow... thanks i didn't think about the motor joint πŸ˜„

                  thank you guys for all the help - this forum users are really intelligent - the car works perfecto πŸ˜‰

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hpnisse
                    last edited by

                    Good that your happy. πŸ˜„
                    Have a nice summer!

                    ` /hpnisse`
                    ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      Vtec234
                      last edited by

                      Thanks and you too ;D Ow, but an other question - what scripting language is it written in?

                      @EDIT
                      Because some of those Sketchy things are in Ruby.. but i think SketchyPhysics doesn't use it...

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hpnisse
                        last edited by

                        It should be in ruby I think.
                        http://sketchyphysics.wikia.com/wiki/Ruby
                        It says that Ruby is used to control SketchupPhysics so I think SP would be written in that script.

                        ` /hpnisse`
                        ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          Vtec234
                          last edited by

                          sooo.. now im gonna learn it a bit ;D
                          P.S.
                          The topic can be closed now

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 1 / 2
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement