sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    SP3x Apr3 version.

    Scheduled Pinned Locked Moved SketchyPhysics
    36 Posts 10 Posters 4.6k Views 10 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.
    • C Offline
      CPhillips
      last edited by CPhillips

      SP3x is an experimental version of SketchyPhysics. At this point is is very much the same as the main version and all models made with SP3x should work fine in RC1 (and 3.0). But it exposes a few features for the hard core model creator. Specifically in the scripting area.

      There will be a Win SP3.0 release soon. Mac may take a big longer because we are still having WebDialog problems. Safari blows btw.

      The change from this version from the RC1 are:

      Exposed onTick and onTouch fields for bodies.
      Fixed camera FOV not being saved. This change will also be in 3.0.

      Win installer.
      http://sketchyphysics2.googlecode.com/files/SetupSketchyPhysics3x-Apr2.exe

      Mac and Win in a zip.
      http://sketchyphysics2.googlecode.com/files/SP3x-Apr5-MacAndWin.zip

      Details on the events and script commands in next post.

      1 Reply Last reply Reply Quote 0
      • N Offline
        nosam55
        last edited by

        i downloaded it and when i open SU a box pops up with "Error Loading File sketchyphysics.rb
        unknown error"

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

          Hmm. Wonder what I broke. Can you do this. Load sketchup. Skip the error. Open the Ruby console under the windows menu. And then type this into the bottom part.

          load 'sketchyphysics.rb'
          

          and post the error it prints.

          Thanks
          Chris

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

            Ah, I think I found the problem. I updated it. Let me know if it still errors.

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

              sorry, I am out of time to write up the script commands tonight. But here is a sample that demos a few of them.


              AutoAimingGun5-Goal-Sunspawn.skp

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

                ...So, once again, no mac yet?

                1 Reply Last reply Reply Quote 0
                • F Offline
                  FredIIVX
                  last edited by

                  Im not 2 great at scripting, so could you tell me how 2 control the sound, e.g. play a gunshot.wav when joybutton('RB') is pressed? I tried different variations of things like this joybutton('rb'); playsound('gunshot.wav') but can't get it 2 work -- Edit --
                  DW i resloved it in the end

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sgt.A.Johnson
                    last edited by

                    @unknownuser said:

                    ...So, once again, no mac yet?
                    You always have to wait for everything on mac. My dad has one and it really annoyed me cos my pc at home wouldn't run sketchy physics and there was no sketchy physics on mac. At least i have my laptop now. not the best processor but more than enough RAM to make up for it.

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

                      Are we allowed to post this version?

                      I reject your reality and substitute my own.

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

                        Oh, yes and please could you post a zip file of this? Thanks.

                        I reject your reality and substitute my own.

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

                          @unknownuser said:

                          ...So, once again, no mac yet?

                          Sorry, I had trouble with the PC version and ran out of time. I will post it tonight.

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

                            @unknownuser said:

                            Are we allowed to post this version?

                            It should be ok. Just be aware some things could change.

                            I will outline some of the hazards in my script post. I will finish that tonight. Its too nice a day here to spend indoors.

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

                              Can you use your own sound files?

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

                                @unknownuser said:

                                Can you use your own sound files?

                                Nope! 😄 That was the problem I discovered soon after I got sound working. I cant possibly include a decent library of sounds, for one thing they are just too big.

                                What I am going to do instead is make it possible to embed .WAV files into the Sketchup model. That way you can put whatever sounds (or music) you want in. AND the copyright issue isn't my problem anymore.

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

                                  How should i achieve this?

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

                                    You can't right now. If you want someone else to get the sound file, post it on the forum or somewheres else, and tell them to go get it 😆

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

                                      @unknownuser said:

                                      You can't right now. If you want someone else to get the sound file, post it on the forum or somewheres else, and tell them to go get it 😆

                                      Thats right. But I'll get the embedded sound working asap.

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

                                        @frediivx said:

                                        Im not 2 great at scripting, so could you tell me how 2 control the sound, e.g. play a gunshot.wav when joybutton('RB') is pressed? I tried different variations of things like this joybutton('rb'); playsound('gunshot.wav') but can't get it 2 work -- Edit --
                                        DW i resloved it in the end

                                        how, i can't get it to work

                                        Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

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

                                          its: playsound("gunshot.wav");100
                                          the;100 represents the value of the emitter's strength.

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

                                            would playsound('gunshot.wav');-(a)*500 work?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement