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

    Sketchyphysics gravity management

    Scheduled Pinned Locked Moved SketchyPhysics
    4 Posts 3 Posters 8.1k 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.
    • K Offline
      Kislashe
      last edited by

      Hi everyone,
      I'm new on sketchyphysics, I read tutos and forums thoose last days, there is a simple thing I try to do but I can't. A sphere jointed to an hige and behaving like a marble attached to a string would in the real life. Like a pendulum. I tried answers in topics of this forum but still doesn't work (must be my bad ).

      My sphere balances, no problem, but the movement is much more slowed down than I would expect. I put a value to "thrust" in the UI but it works just in one direction. I guess I'd have to script something but I don't know how to do that. BTW if you have a tip for me to get started in scripting, you are welcome.

      In a general way, could someone waste a little of his time to explain me how gravity is managed in that software? THXS 😄

      1 Reply Last reply Reply Quote 0
      • B Offline
        blossa
        last edited by

        If you mean howto adjust gravity, then it is under Plugins->SketchyPhysics->Physics Settings.

        I'm also new to Physics so this with scripting sounds interesting. 😄 I must check that out. 😄

        1 Reply Last reply Reply Quote 0
        • K Offline
          Kislashe
          last edited by

          Thanks Blossa, I hadn’t noticed the settings 😄

          But I still can’t understand the way it works 🎉 I try to make a correspondance between the SP gravity setting (1 by default) and the gravity acceleration we know on Earth (g=9.81 meters per sedond per second). So I make an object to fall from different heights (h) and record the frame when it touches the ground. I’ve been taught at school that h=0.5g * t², the formula expects seconds for t, let's say frames are seconds. I should find a constant when calculating h/t² but in SP it looks like the longer an object falls, the less it accelerates wich makes me a little confused. SP simulates the vacuum, doesn’t it ?

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

            http://sketchucation.com/forums/viewtopic.php?f=61%26amp;t=37533%26amp;p=484617%26amp;hilit=suite+spot#p484617

            also there are some code settings for linear and angular damping which can be tweeked. I'll look for and post an example

            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