• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

MSPhysics 1.0.3 (16 October 2017)

Scheduled Pinned Locked Moved Plugins
920 Posts 170 Posters 882.8k Views
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.
  • F Offline
    faust07
    last edited by 4 Mar 2016, 10:04

    Please help:
    how can I reach the "self splitting" Method in MSPhysics? The simulation stops with the following error:
    "MSPhysics Simulation has been aborted due to an error!
    MSPhysics::ScriptException: A NoMethodError has occurred while evaluating entity script, line 1:
    undefined method ontouch' for #<MSPhysics::Body:0x11916240> Trace: MSPhysics Script&#058;1:in add_group'
    ..."

    This script works in SketchyPhysics:
    ontouch{
    split(self,2)
    }

    And the next thing is: how do I define paths in MSP analogous to the SP-curve method in the context menu?

    1 Reply Last reply Reply Quote 0
    • A Offline
      Anton_S
      last edited by 4 Mar 2016, 20:23

      These features aren't available in the current version of MSPhysics.

      1 Reply Last reply Reply Quote 0
      • F Offline
        faust07
        last edited by 5 Mar 2016, 00:28

        OK, have just read your very long TODO list ... "path follow joint", "advanced explosion function" ... and much more. I wish you 48 hours a day.
        First I thought, MSP is more focused on scientific simulation ( 😞 ), what can be seen at the many metal materials and the many possible fine adjustments. But it is refreshing to experiment with it.
        Now I also read in the FAQ that: "The major aim of MSPhysics is to improve gaming in SketchUp" - Other interesting feelds are physical based simulations and animations of every kind. Nevertheless, I have two more questions: Is there a comparison of differences in script commands between MSP and SP, or is something like that planned for the future? Is there somewhere another forum where MSPhysics issues are discussed?
        It seems that there is a relatively small interest in this forum.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by 5 Mar 2016, 01:52

          Faust, once it gets to version 1.0, a list of comparable functions between SP and MSP would be added, as well as, potential SP compatibility. There is no other forum yet either. Once all the features, including soft bodies, are added and a high quality demonstration of an FPS game or something else is made, this project might gain more interests, but for now it's in development.

          1 Reply Last reply Reply Quote 0
          • E Offline
            erichokk
            last edited by 20 Mar 2016, 02:54

            Hi Anton,

            In Sketchyphysics there is a "controller" dialog box when simulation is runnging, which has a slider to control each individual servo. Is there anything similar in the MSphysics?

            1 Reply Last reply Reply Quote 0
            • A Offline
              Anton_S
              last edited by 23 Mar 2016, 04:57

              Version 0.5.0 has been released!
              Update change log: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/CHANGELOG.md
              Download available in first post.

              1 Reply Last reply Reply Quote 0
              • F Offline
                faust07
                last edited by 23 Mar 2016, 10:52

                Great news, Anton. Short question: I want this Topic not bloat with simple examples and tests. Should I better open a new topic as entitled "MSPhysics examples and tests"?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sekramer10
                  last edited by 26 Mar 2016, 03:22

                  Hello,

                  Does this work on SU 2016 64bit ?

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gepponline77
                    last edited by 29 Mar 2016, 15:24

                    Hi, I'm just trying it on SU2016 make. It all seems to work but i cannot understand how to use piston or servo motor or motor.

                    If i press UI button i expect a window with interactive controller to appear but it's not, or better, a window appear, with many tabs, but the joint tab is empty when in play mode.
                    So, how to move an object connected to a servo joint?

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      PituPhysics
                      last edited by 30 Mar 2016, 10:50

                      @gepponline77 said:

                      Hi, I'm just trying it on SU2016 make. It all seems to work but i cannot understand how to use piston or servo motor or motor.

                      If i press UI button i expect a window with interactive controller to appear but it's not, or better, a window appear, with many tabs, but the joint tab is empty when in play mode.
                      So, how to move an object connected to a servo joint?

                      • Drawing 1 group.
                      • Create a Joint.
                      • Select the "Joint Connection Tool" (red/green, rotary arrows)
                      • Click onto group
                      • Hold the left Ctrl / Shift
                      • Click onto Joint
                      • Done!

                      /OR/

                      • Drawing 2 group.
                      • Click on one of them. Be it an "A".
                      • Create a Joint on "A" group.
                      • Show UI, Remove the check mark from the "Connected Collide" check box.
                      • Controller:
                      righty * 10 /OR/ rightx * 10 for right arrows. 10 is the velocity.
                      key('up') /// key('down') /// key('left') /// key('right')
                      
                      lefty /OR/ leftx for WASD
                      
                      key('w') * 10 for "W" button on keyboard
                      
                      key('lbutton') for left click on mouse ( lbutton, mbutton, rbutton )
                      
                      get_var('variable') for script.
                      
                      
                      • Select "A" group and joint. (Hold the left Ctrl OR Shift)
                      • Right click / Make Group
                      • Select "Joint Connection Tool"
                      • Select "B" group
                      • Hold the left Ctrl OR Shift and click onto Joints.
                      • Done!

                      Not complicated.

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        gepponline77
                        last edited by 30 Mar 2016, 12:11

                        Maybe I didn't explain well my problem.

                        I know how to use joints!
                        The problem is that if use hinge, or motor or slider, all work well. I simply have to drag my object to move it.

                        If i use piston or servo, in Sketchyphysiscs, when i press play, a popu control panel with a slider appear and it allow me to mov emy object.
                        With MS, nothing appear and i can't move my object

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          PituPhysics
                          last edited by 30 Mar 2016, 13:58

                          @gepponline77 said:

                          Maybe I didn't explain well my problem.

                          I know how to use joints!
                          The problem is that if use hinge, or motor or slider, all work well. I simply have to drag my object to move it.

                          If i use piston or servo, in Sketchyphysiscs, when i press play, a popu control panel with a slider appear and it allow me to mov emy object.
                          With MS, nothing appear and i can't move my object

                          I'm sorry, I misunderstood. In the MSPhysics at present there is no "Controller Panel".
                          Anton is likely to put into it as well. For the time being, you can control the keyboard.

                          1 Reply Last reply Reply Quote 0
                          • soloS Offline
                            solo
                            last edited by 30 Mar 2016, 14:02

                            @sekramer10 said:

                            Hello,

                            Does this work on SU 2016 64bit ?

                            Thanks

                            From the requirements section of the website:
                            http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/README.md

                            SketchUp 6 or later. SU2016 64bit is recommended!

                            http://www.solos-art.com

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

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              gepponline77
                              last edited by 30 Mar 2016, 14:08

                              @pituphysics said:

                              For the time being, you can control the keyboard.

                              Could you please explain me how?
                              For example, if i place a servo joint connected to an object, what should I do to move that object in play mode?

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                PituPhysics
                                last edited by 30 Mar 2016, 14:59

                                @gepponline77 said:

                                Could you please explain me how?
                                For example, if i place a servo joint connected to an object, what should I do to move that object in play mode?

                                Write this codes into Joint / "Controller":

                                
                                rightx         Left - right arrows
                                righty         Up - down arrows
                                
                                leftx          A - D
                                lefty          W - S
                                
                                key('1')       0-9
                                key('a')       A-Z keys
                                key('enter')   All the Windows function keys. (lctrl, rctrl, space, backspace, etc...)
                                key('numpad1') 0-9 Right numpad keys
                                key('+')       Numpad operations (+, -, *, /)
                                
                                key('lbutton') Mouse keys (mbutton, rbutton, xbutton1, xbutton2)
                                
                                get_var('variable')   ... for script.
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  gepponline77
                                  last edited by 30 Mar 2016, 15:09

                                  Sorry but for me is really unclear.
                                  What should i have to write?
                                  Controller field is a single line field.
                                  So eventually i can insert only a row of what you have write above.
                                  I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
                                  Of course is my fault.
                                  But could you gave mme an example step by step of using a piston joint?

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    PituPhysics
                                    last edited by 30 Mar 2016, 15:24

                                    @gepponline77 said:

                                    Sorry but for me is really unclear.
                                    What should i have to write?
                                    Controller field is a single line field.
                                    So eventually i can insert only a row of what you have write above.
                                    I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
                                    Of course is my fault.
                                    But could you gave mme an example step by step of using a piston joint?

                                    I made an test model: piston test.skp

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      PituPhysics
                                      last edited by 30 Mar 2016, 17:33

                                      @pituphysics said:

                                      @gepponline77 said:

                                      Sorry but for me is really unclear.
                                      What should i have to write?
                                      Controller field is a single line field.
                                      So eventually i can insert only a row of what you have write above.
                                      I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
                                      Of course is my fault.
                                      But could you gave mme an example step by step of using a piston joint?

                                      I made an test model: [attachment=0:1hwdkrag]<!-- ia0 -->piston test.skp<!-- ia0 -->[/attachment:1hwdkrag]

                                      Succeeded solve?

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        faust07
                                        last edited by 30 Mar 2016, 17:58

                                        Very good example and important notes above. It works.

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Anton_S
                                          last edited by 30 Mar 2016, 23:22

                                          @faust07 said:

                                          Great news, Anton. Short question: I want this Topic not bloat with simple examples and tests. Should I better open a new topic as entitled "MSPhysics examples and tests"?

                                          Yes, I can see that you already did. However because there aren't many tutorials on how to use MSPhysics and because its generally not done, the topic could be quite empty for a while, but don't worry once the project is done, I'm gonna help you fill it in.

                                          @pituphysics said:

                                          In the MSPhysics at present there is no "Controller Panel".
                                          Anton is likely to put into it as well. For the time being, you can control the keyboard.

                                          Yep, I'm planning to put in all the feature of SketchyPhysics and more.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 10
                                          • 11
                                          • 12
                                          • 13
                                          • 14
                                          • 45
                                          • 46
                                          • 12 / 46
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement