sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Atmospheric drag

    Scheduled Pinned Locked Moved SketchyPhysics
    5 Posts 4 Posters 1.1k Views
    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.
    • E Offline
      Elukka
      last edited by

      Is there any way to get empty, Newtonian space in SketchyPhysics? Gravity is easily set to zero but how about the atmosphere? Moving objects stop on their own which implies there's an atmosphere and I can't find any way to turn it off.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mptak
        last edited by

        The answer seems to lie in this command
        setLinearDamping(0.0) and setAngularDamping(0.0)each of which are set in the script box. Hope this helps.

        1 Reply Last reply Reply Quote 0
        • C Offline
          CPhillips
          last edited by

          It should be:

          onstart{
            setLinearDamping(0.0)
            setAngularDamping([0.0,0.0,0.0])
          }
          
          1 Reply Last reply Reply Quote 0
          • C Offline
            CPhillips
            last edited by

            Numbers larger than 100.0 will work. Experiment to find out what values work for whatever you are trying to do.

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

              I'd use those commands in the onstart event. I reckon this code should achieve what you're after:

              onstart{
                setLinearDamping(0.0)
                setAngularDamping([0.0,0.0,0.0])
              }
              

              Edited, didn't try it originally 😳

              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