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

    Object-Triggering

    Scheduled Pinned Locked Moved SketchyPhysics
    4 Posts 4 Posters 510 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.
    • B Offline
      Bigbjason
      last edited by

      I would like to see it where objects can trigger different events. Like a supermarket door, one that slides open when you step in front of it. You would have the door and an area set of in front of it. If you moved an object in that area, the door wold open. and stuff like that. Thing that would be possible? Then one could build different things that only do something if something else is done first, such as maybe a model must hit a button-thing and this would cause something else to happen.

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

        if you mean in-sketchup triggering, one could have a forward floor connected to a spring. once a weight is detected there can be a straining motor joint that is released and completes one revolution, then returning to the original position after the platform has moved back up. if you could find some mechanism to open the door once the revolution has commenced, that would do it. i might upload an example

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

          Not yet. But soon.

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

            Something like the magnet switches from LBP could achieve all kinds of stuff like this; they're basically proximity switches. If we were able to use entity names within script, something like "if(proximity(box1,box2)<500);1.0;else;0.0;end" would do it. The way I've written that is probably stupid, but you get the idea... expanding on this, you could have sketchyphysics know an object's position in relation to the origin, something like "x/y/zproximity(origin,box1)", its x/y/z speed and how much it's pitch/roll/yawing. Also use joint names in script, like "0.5-hinge1000", for levers etc. If it's possible, that'd be awesome, if it's not, never mind.

            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