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

    OnTouch

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

      πŸ˜„ I just did a little experiment. I was wrong, the method you use isn't unstable; the problem is, collisions aren't detected while two objects are intersecting each other, it's more about the faces. If onTouch collisions could be detected using intersection, as well as the normal way, then noCollision detectors would work properly. See what I mean here: Sphere will emit while collision is detected.

      I managed to overcome this (somewhat), and I've found a way to create artificial super-grip for my new vehicle, with a thruster; which only has an effect while it's driving over something. When you jump, it's turned off, so you get immense air time, since there's no need for a gravity increase and the grip vastly increases the speed of the car. The thruster is gyro-stabilised (no vertical driving) and set well below the car, stopping roll during cornering. I'll upload it when I get it looking a bit nicer.

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

      1 Reply Last reply Reply Quote 0
      • H Offline
        hobbnob
        last edited by

        ctually, this has been done before, look at my most recent wildcat, it uses this method, it has a sensor that detects how far off the ground you are.

        My WIP Thread:Here

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

          πŸ˜† You keep beating me to this kinda thing

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

          1 Reply Last reply Reply Quote 0
          • H Offline
            hobbnob
            last edited by

            πŸ˜„ i try my best. ps. I've also beat you to the menu system http://sketchup.google.com/3dwarehouse/details?mid=99bca3f10e5596eb6deb668485598dc6&prevstart=0

            My WIP Thread:Here

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

              What the hey, I'll post my system... excuse the lack of steering wheel, engine, or, indeed, anything to hold the wheels in place... oh and I saw. To be honest, it's nothing like what I was thinking of, but nice!


              Left stick

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

              1 Reply Last reply Reply Quote 0
              • H Offline
                hobbnob
                last edited by

                works well, what were you think of then with your menu system?

                My WIP Thread:Here

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

                  This πŸ˜„


                  Keys+space, pretty basic demo

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

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

                    HGreat SPing there. πŸ˜„ Hope you can use it to make a game πŸ˜‰

                    I reject your reality and substitute my own.

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

                      Very cool stuff!

                      Regarding onTouch, the current plan is to have an onTouch and an onUntouch event. Strictly speaking it should probably be onTouch (first touch) onTouching(every touch until..) onUntouch (only happens once when object stops touching). But I dont know if I am going to take it that far.

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

                        If you used the add/remove event thing, then these would be great events to have; please use them! For the onTouching, would you be able to detect it outside of the physics engine, using SketchUp? The engine doesn't detect intersections very well, as I demonstrated...

                        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