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

    Control

    Scheduled Pinned Locked Moved SketchyPhysics
    4 Posts 3 Posters 477 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.
    • V Offline
      vexx21322
      last edited by

      I have been looking everywhere and can't figure it out, what are the syntax for the keyboard for controlling joints.

      I'm trying to use a and d for turning.

      1 Reply Last reply Reply Quote 0
      • W Offline
        Wacov
        last edited by

        Assuming you know about the UI and controllers, the syntax is:

        w,a,s,d/Left stick
        joy("leftx")
        joy("lefty")

        Arrow keys/Right stick
        joy("rightx")
        joy("righty")

        Individual keys (Use q,w,e,r,t,y, etc in place of ...)
        key("...")

        Gamepad buttons (a,x,y,b)
        joybutton("...")

        In your case, you'll want to use joy("leftx"), which is easier than using the individual keys, and lets joypad users control it aswell!

        http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sgt.A.Johnson
          last edited by

          @wacov said:

          joy("leftx")

          You dont need to use joy("leftx"). you can just put leftx. and why do people use " when ' works just aswell and is shorter

          1 Reply Last reply Reply Quote 0
          • W Offline
            Wacov
            last edited by

            I use " cos... well, that's better. "..." is a string variable (text), so using " lets me put ' inside it. I show people the joy("...") command because that's the future syntax... it might help stop confusion whenever the switchover is. Also, to me at least, it makes it slightly easier to read, and it makes more sense.

            http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

            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