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

    MSPhysics 1.0.3 (16 October 2017)

    Scheduled Pinned Locked Moved Plugins
    926 Posts 171 Posters 883.3k Views 172 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.
    • D Offline
      Dalton325
      last edited by

      Is there a manual for MSPhysics? For now, I'm just trying to make a simple animation with hinges, and it's doing all kinds of crazy things. I've found a couple of solutions through trial and error, but I'd love an instruction manual. Thanks.

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

        Regarding rendering of MSPhysics animations: After further tests with Indigo is clear, the definition of new materials in MSPhysics scripts leads to termination of the rendering start and an error is indicated (test with MIDI-Studio, AntonS).
        Color changes of objects in scripts are not shown when rendering (test with Animated_colors, PituPhysics).

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by

          @Juju, thanks. I'll contact these guys if I get stcuck on something.


          @Dalton I made a few beginner videos on using joints. They are not the best, but better than nothing. Here are the links: https://github.com/AntonSynytsia/MSPhysics/wiki/Using-Joints


          @Faust Thanks for another report. I'll check it all out.

          1 Reply Last reply Reply Quote 0
          • MALAISEM Offline
            MALAISE
            last edited by

            It sounds well. Could someone explain how to " associate" curvy joint and a curve ?

            Cheers

            La Connaissance n'a de valeur que partagée

            1 Reply Last reply Reply Quote 0
            • A Offline
              Anton_S
              last edited by

              Hi Malaise,
              I just completed a tutorial on curvy joints. Here it is:

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                Very fluid! 😎

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • MALAISEM Offline
                  MALAISE
                  last edited by

                  You've done a really good tutorial. Many thanks for sharing. 👍 👍

                  La Connaissance n'a de valeur que partagée

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

                    I just found the way in MSP-Context-Menu to give copied joints their unique Identity - "Make Unique ID". This makes the reproduction of complex MSPhysics objects much easier. And is another great advantage.

                    1 Reply Last reply Reply Quote 0
                    • MALAISEM Offline
                      MALAISE
                      last edited by

                      Hallo Faust07

                      Could you post a "printscreen"?  Grüss
                      

                      La Connaissance n'a de valeur que partagée

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

                        I have copied a few birdies and it looks good, not to have to set up the joints again. However, Joint Connections need to be updated manually.


                        MSP_Make_Unique_ID.png

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

                          Hi Anton: "Small modest" request for a script: Daughter Your ingenious SketchyPhysics model with script - WAVES. I'd like to have a script for a surface (floor surface, water surface, etc.), which gives information on the location at which point an object penetrates this at a certain speed. At this point, should a particular event happen -. E.g. emit a cloud of dust ... Don't know if this is in MSphysics possible.

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

                            Two more detailed questions about the above topic regarding onTouch: How can I get the absolute coordinates of the point (x, y, z), there a falling object is touching a flat (square) face first? And how can I get the amount of the force of that impact? Thanks!
                            Sorry, already found it in Your script examples "Touch Events" (first post..).

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anton_S
                              last edited by

                              Hi faust,

                              Assigning unique IDs is one way to manage copied joints. Another way, a more preferable one, is by selecting the whole birdy, with its components, and clicking (Context Menu)->MSPhysics->State->Connect Closest Joints. After that, you can copy the birdy multiple times without having to assign unique IDs.

                              It is possible to create waves and splash effects with MSPhysics, however, just like in SketchyPhysics, there won't be much physics involved; most of it would be controlled through scripting. That said, the touch events won't respond to the bodies contacting the "artificial" waves. This will require writing additional code for determining contacts and then emitting dust or splash effects at such points. All in all what your asking for might require quite a lot of coding and I'll have to pass on that one. You can however try utilizing it yourself maybe with workarounds and simpler approaches.

                              Anton

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

                                The Connect Closet Joints - method sounds great. Will try it. Thanks!
                                I hope that your last sentences were based only on the coding of specials like waves and not generally on to the development of MSPhysics ...?

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Anton_S
                                  last edited by

                                  Announcing 0.9.0!

                                  • Compatibility with Mac OS X 10.5+; still limited when it comes to managing keyboard, mouse, and MIDI, but the most important stuff is working just fine.

                                  • Fixed a bug where MSPhysics failed to load previous editor settings. Thanks to PituPhysics for report.

                                  • Joystick should work even if connected after SketchUp starts.

                                  • Added alignment power option to CurvySlider and CurvyPiston joints.

                                  • Added LinearGear, AngularGear, and RackAndPinion constraints.

                                  • Reworked the scripting API. Various functions were renamed and rearranged.

                                  • Renamed various ( get_some_method/ set_some_method) functions, that acquired one parameter, to some_method/ some_method=.

                                  • Added BodyContext class. All body events, such as onUpdate, were moved to the BodyContext.

                                  • To reference a Body associated with the BodyContext, call BodyContext.#this.

                                  • To reference a BodyContext associated with the Body, call Body.#context.

                                  • Renamed Common and Controller to CommonContext and ControllerContext.

                                  • Scripting scope was changed to BodyContext. To call body methods from the scripting scope, it is now essential to place the keyword "this" in front.

                                  • To call BodyContext methods, which are mostly events, from the scripting scope, you don't need to place any keywords in front.

                                  • Renamed get_body_by_group, get_group_by_name, etc.. to [ruby:15odxhy4]find_body_by_group[/ruby:15odxhy4], [ruby:15odxhy4]find_by_by_name[/ruby:15odxhy4], etc...

                                  • Renamed all [ruby:15odxhy4]is_some_method?[/ruby:15odxhy4] functions to [ruby:15odxhy4]some_method?[/ruby:15odxhy4].

                                  • Many methods that focused on general stuff were moved to AMS Library. For instance, the whole [ruby:15odxhy4]Group[/ruby:15odxhy4] and [ruby:15odxhy4]Geometry[/ruby:15odxhy4] classes were transferred to AMS Library.

                                  • The scripting changes were made for coding convenience and are very likely to remain unchanged in the upcoming releases.

                                  • Enchanted control panel and the dialog.

                                  • Various other bug fixes and improvements.

                                  1 Reply Last reply Reply Quote 0
                                  • pilouP Offline
                                    pilou
                                    last edited by

                                    How process (if possible) for have and keep the tracks marks of the car moving on the terrain ?
                                    (of each wheel)

                                    Frenchy Pilou
                                    Is beautiful that please without concept!
                                    My Little site :)

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

                                      In my case (update from MSPhysics v0.8.0 to v.0.9.0) using the Extension Store leads to immediate failure after start of MSP (also with the new models). It seems that old files in the MSPhysics folder of v.0.8.0 partially are not deleted or overwritten. To delete the directory and copy it complete new in the plugin folder works.

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

                                        After revising the scripts for v0.9.0 my test models work better than before. To record simulation to Replay is much faster too. Thanks! 👍 👍 👍

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

                                          The option to save the replay data in the model file has been lost ...?

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            Anton_S
                                            last edited by

                                            Pilou, it's possible to create tracks, but only through scripting.


                                            Faust, my bad. I disabled the saving of Replay animation into model because it affected performance; that's why you noticed huge performance boost in this version. I was trying to rework it, but then completely forgot about it. The fix is underway.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 20
                                            • 46
                                            • 47
                                            • 18 / 47
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement