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

    MSPhysics 1.0.3 (16 October 2017)

    Geplant Angeheftet Gesperrt Verschoben Plugins
    926 Beiträge 171 Kommentatoren 883.2k Aufrufe 172 Watching
    Lade mehr Beiträge
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen
    Antworten
    • In einem neuen Thema antworten
    Anmelden zum Antworten
    Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
    • A Offline
      Anton_S
      zuletzt editiert von

      And the "mouse script" that is used to look around, turn wheels, and do other stuff can be rewritten to rely on AMS::Cursor functions. To monitor mouse clicks, you can use MSPhysics::Body events, like

      onLButtonDown { |x,y|
        ...
      }
      

      MSPhysics::Body has plenty of events and functions. You can see them here: MSPhysics::Body

      1 Antwort Letzte Antwort Antworten Zitieren 0
      • P Offline
        PituPhysics
        zuletzt editiert von

        @anton_s said:

        And the "mouse script" that is used to look around, turn wheels, and do other stuff can be rewritten to rely on AMS::Cursor functions. To monitor mouse clicks, you can use MSPhysics::Body events, like

        onLButtonDown { |x,y|
        >   ...
        > }
        

        MSPhysics::Body has plenty of events and functions. You can see them here: MSPhysics::Body

        What is the equivalent of these? These are always needed. I read this:
        https://d5adbec3e1f2ea2f548f4aa0f7818eb2a3bf09ec.googledrive.com/host/0B3qg8f4WrNdHfnRoazY0djJXRk5USVg4a0tkR0FKRF9sOVNqYTNyQktxbWctRzNaRHRjd2M/MSPhysics/Body.html#get_body_by_address-class_method

        From SPhysics;
        simulation.findBody("body_name")
        sp_tool_instance.findGroupNamed("body_name")
        
        Here?
        simulation.get_body_by_address(address)
        
        

        The "Game mode" damn good!! 💚

        1 Antwort Letzte Antwort Antworten Zitieren 0
        • A Offline
          Anton_S
          zuletzt editiert von

          I'll add body by name functions in next alpha release.

          1 Antwort Letzte Antwort Antworten Zitieren 0
          • P Offline
            PituPhysics
            zuletzt editiert von

            Hello Anton. When I start the SketchUp, 12-13 minutes later crashes and come up the BugSplat.
            32 and 64 bit version as well. I tried the original "Sketchup Make" and the original starter .exe file.
            If do not start the simulation, you will too.

            I see that is available the "get_body_by_name".
            How do I hide or visible body or entities? "show_bodies(false)" every group will hide.

            1 Antwort Letzte Antwort Antworten Zitieren 0
            • A Offline
              Anton_S
              zuletzt editiert von

              Hi, Pitu!

              That crash is most likely coming from SDL2 or SDL2_mixer, libaries that allow you to play music and sounds in SU. I currently haven't figured out why the crash occurs but your report sure does tell I wasn't the only one experiencing that crash. I will try to zero-down and fix that bug before the upcoming release.

              To hide a body, you simply get body, and then reference its entity by get_entity function. Here is an example:

              onStart {
                @target = simulation.get_body_by_name("target")
                @target.get_entity.visible = false if @target
              }
              
              onEnd {
                @target.get_entity.visible = true if @target
              }
              

              You can also hide current body by writing this.get_entity.visible = false.

              1 Antwort Letzte Antwort Antworten Zitieren 0
              • soloS Offline
                solo
                zuletzt editiert von

                Yup, after about 12 minutes SU crashes, even if not using MS Physics, if you remove from plugin folder the splats stop, must be a conflict someplace

                http://www.solos-art.com

                If you see a toilet in your dreams do not use it.

                1 Antwort Letzte Antwort Antworten Zitieren 0
                • PixeroP Offline
                  Pixero
                  zuletzt editiert von

                  Me too. If I remove it, SU doesn't crash anymore.

                  1 Antwort Letzte Antwort Antworten Zitieren 0
                  • P Offline
                    PituPhysics
                    zuletzt editiert von

                    We hope, Anton will soon be solve the SDL2_mixer problem. This "MSPhysics" awesome. 100x better than SketchyP. Lots of new and useful features in it. And it is still under development.
                    What good will, when completed ?! 😲

                    1 Antwort Letzte Antwort Antworten Zitieren 0
                    • soloS Offline
                      solo
                      zuletzt editiert von

                      I got so side tracked today, I was playing Jenga with MS Physics, so much fun.

                      http://www.solos-art.com

                      If you see a toilet in your dreams do not use it.

                      1 Antwort Letzte Antwort Antworten Zitieren 0
                      • soloS Offline
                        solo
                        zuletzt editiert von

                        @pituphysics said:

                        We hope, Anton will soon be solve the SDL2_mixer problem. This "MSPhysics" awesome. 100x better than SketchyP. Lots of new and useful features in it. And it is still under development.
                        What good will, when completed ?! 😲

                        I'd be happy to eliminate the sounds if that is causing issues

                        http://www.solos-art.com

                        If you see a toilet in your dreams do not use it.

                        1 Antwort Letzte Antwort Antworten Zitieren 0
                        • A Offline
                          Anton_S
                          zuletzt editiert von

                          Thanks for confirming that crash guys. Solo, removing sounds would be a bad idea. Sounds, including the 3D sounds would be essential for future FPS games in SU.

                          1 Antwort Letzte Antwort Antworten Zitieren 0
                          • jujuJ Offline
                            juju
                            zuletzt editiert von

                            @anton_s said:

                            Thanks for confirming that crash guys. Solo, removing sounds would be a bad idea. Sounds, including the 3D sounds would be essential for future FPS games in SU.

                            future games that last only 12 minutes is surely not viable? would it not make more sense to get the plugin to work properly first then sort out the problems?

                            Save the Earth, it's the only planet with chocolate.

                            1 Antwort Letzte Antwort Antworten Zitieren 0
                            • A Offline
                              Anton_S
                              zuletzt editiert von

                              @juju said:

                              @anton_s said:

                              Thanks for confirming that crash guys. Solo, removing sounds would be a bad idea. Sounds, including the 3D sounds would be essential for future FPS games in SU.

                              future games that last only 12 minutes is surely not viable? would it not make more sense to get the plugin to work properly first then sort out the problems?

                              I will fix that crash. That's why I said future. SketchyPhysics, too, uses SDL, but it uses an older version which seems to work without crashing. Maybe I just drop back to SDL1 and have sounds running from there.

                              1 Antwort Letzte Antwort Antworten Zitieren 0
                              • P Offline
                                PituPhysics
                                zuletzt editiert von

                                Hi Anton. Will be updates? Because if not, then we need to stay the SketchyP. It does not matter if there are no "joins". Only "BugSplat" problem should be corrected. But this would be much better because the source of "clean", and it works 64-bit as well. The "SketchyPhysics" therefore much fewer people used, however could be used the 32-bit version of SketchUp 2015...

                                1 Antwort Letzte Antwort Antworten Zitieren 0
                                • A Offline
                                  Anton_S
                                  zuletzt editiert von

                                  Hi Pitu. I'm taking some break from programming as there are times when one gets bored and looses motivation in it. I do, however, plan to resume works during summer break. Best wishes, Anton.

                                  1 Antwort Letzte Antwort Antworten Zitieren 0
                                  • F Offline
                                    faust07
                                    zuletzt editiert von

                                    Hi Anton, please stay tuned to your good work, even if the feedback at the moment is relatively low. There are only a few people that can handle such complex tasks as confident as you. You made SketchyPhysics to run very stable, and MS-Physics is again a quantum leap. I'm very excited about it and I think many other people also. Thank you!

                                    1 Antwort Letzte Antwort Antworten Zitieren 0
                                    • soloS Offline
                                      solo
                                      zuletzt editiert von

                                      @anton_s said:

                                      Hi Pitu. I'm taking some break from programming as there are times when one gets bored and looses motivation in it. I do, however, plan to resume works during summer break. Best wishes, Anton.

                                      Thanks for everything so far mate, we will be here waiting for whenever you get the time and interest to continue.

                                      http://www.solos-art.com

                                      If you see a toilet in your dreams do not use it.

                                      1 Antwort Letzte Antwort Antworten Zitieren 0
                                      • cottyC Offline
                                        cotty
                                        zuletzt editiert von

                                        Well-deserved break 👍

                                        my SketchUp gallery

                                        1 Antwort Letzte Antwort Antworten Zitieren 0
                                        • tt_suT Offline
                                          tt_su
                                          zuletzt editiert von

                                          Take care Anton - make sure you don't get burned out.

                                          1 Antwort Letzte Antwort Antworten Zitieren 0
                                          • C Offline
                                            craigwise3000
                                            zuletzt editiert von

                                            Hello I am having trouble installing arm_Lib. I assume this is the controls and joints plugin. I have the UI plugin MSPhysics 0.2.1 plugin, and I have msvcrt-ruby200.dll as I assumed this was higher than msvcrt-ruby18.dll. I have Sketchup Pro 2014. Any thoughts on how to fix this?

                                            1 Antwort Letzte Antwort Antworten Zitieren 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 46
                                            • 47
                                            • 7 / 47
                                            • Erster Beitrag
                                              Letzter Beitrag
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement