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

    Simple questions...

    Scheduled Pinned Locked Moved SketchyPhysics
    5 Posts 3 Posters 472 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.
    • B Offline
      BTM
      last edited by BTM

      my question; will it ever be possible to have ontouch work only if there is a certain amount of force in a collision
      i.e.: if force>=500 then playsound("wood1.wav"), or in any other way?
      (force being something like the value for breakable joints)

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

        It possible. But it would require a bit of work. If getting accurate sound effects is the goal its probably not going to work the way you expect. The current sound system is very limited.

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

          I wasn't just thinking of sound effects, but also for some other things, like triggers that would do different things depending on how hard they are hit.

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

            Slightly off topic, I was thinking of a unified system for events in the UI; a drop-down events section, where you can add and remove events like onTouch and onTick. This would let us have separate onTouch event scripts for different objects colliding, and different onTick scripts running at different framerates... without additional objects. You could also add new events like onClick. Obvoiusly not for SP3, but an idea for the future...

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

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

              BTM, Ill see if I can do it but it probably wont be in next version.

              Wacov, I have been thinking about doing exactly that. In the form of model level events. And I would also probably setup the objects with an add/remove event UI as well.

              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