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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Object Goals?

    Scheduled Pinned Locked Moved SketchyPhysics
    10 Posts 4 Posters 1.3k Views 4 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.
    • P Offline
      Physicsguy1
      last edited by

      Can you give objects "goals"? Where the joint will attempt to return to it's set position during the entire duration of the simulation? Almost like a spring? Can this also be possible with joints?

      1 Reply Last reply Reply Quote 0
      • P Offline
        Physicsguy1
        last edited by

        here is an example:


        object goals example

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

          Sorry, I don't understand. What are you trying to do?

          1 Reply Last reply Reply Quote 0
          • P Offline
            Physicsguy1
            last edited by

            Sorry, it wasn't completely accurate. I want it so an object will try return to it's original position if moved to another position. Like a spring. But just so it isn't constrained to one axis.

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

              I think I see what you are saying. How would it be different (aside from easier) than connecting 3 springs together?

              1 Reply Last reply Reply Quote 0
              • A Offline
                Alienizer
                last edited by

                I guess if the object is obstructed by another, it will push it out of the way, or slide along it to try to return back home. Using a spring will not work. At least, that's what I think he's trying to accomplish.

                I'm from Mars and moved to Earth to alienize you. Unfortunately, I became humanized.

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

                  Sort of coming from this, maybe we could have objects that seek a path to a set position? So, they try and avoid collisions and get to the specified x/y/z point in space, or another object. Kind of like basic AI...

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

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

                    AI path finding is a whole other realm of study. Not to say you couldnt make something that would look like it is pathfinding. I have a robot vacuum that does a decent job.

                    The original idea of an object that moves to a specified location is possible. But I want to make sure I understand what the request was.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Alienizer
                      last edited by

                      I think the original request was to have a multi directional spring, so that if the object was moved away from its anchor, it would come back, no natter which XYZ it moved to. Now that I think of it, you already have a spring, why not make one multi directional as well?

                      I'm from Mars and moved to Earth to alienize you. Unfortunately, I became humanized.

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

                        The original idea was that the joints are atomic and can be joined to do what you want. Just connect 3 Springs and you have the same result as a specialized 3DSpring.

                        The problem is the "just". Its a pain to connect up 3 joints. Not to mention not simple to envision what the result will be.

                        SPIV will fix the pain to connect part. But a 3d spring may be possible in SP3x. Maybe a desiredPosition property on objects or something.

                        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