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

    Something new.

    Scheduled Pinned Locked Moved SketchyPhysics
    40 Posts 14 Posters 5.5k Views 14 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.
    • W Offline
      Wacov
      last edited by

      I'm gonna have fun with this one!!

      So, will all the newtonServer external commands be available for scripting, even if they're not implemented? I'm just wondering how we can get access to the materials πŸ’š

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

      1 Reply Last reply Reply Quote 0
      • H Offline
        hobbnob
        last edited by

        Kinda confused to be honest, mostly about the behaviour thing and ruby. Is sketchyphysics still usable for people who don't know ruby? A lot of the features mentioned need ruby to make them work, which is kinda worrying. . .

        My WIP Thread:Here

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

          @hobbnob said:

          A lot of the features mentioned need ruby to make them work, which is kinda worrying. . .

          To be honest, i dont like the idea, i hate scripting and the easier its made the better. Im still catching up on the current Sketchyphysics scripting (thanks to LazyScript). However the idea is good as its something difference but personaly, i think i will struggle with it.

          Having said that, it wouldbe better to use a different Physics engine for sketchup.i guess idea really have to try it first to really give my proper opinion.

          If you can read this, thank a teacher.
          If you can read this in english, thank a soldier.

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

            @wacov said:

            I'm gonna have fun with this one!!

            So, will all the newtonServer external commands be available for scripting, even if they're not implemented?

            Yes. Thats the way it works.

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

              @hobbnob said:

              Kinda confused to be honest, mostly about the behaviour thing and ruby. Is sketchyphysics still usable for people who don't know ruby? A lot of the features mentioned need ruby to make them work, which is kinda worrying. . .

              No, if anything you will need to know less. It will come with all the basic SP features and only new features will require ruby code.

              Regarding the question of changing the physics engine. When I started this I took another look at all the physics engines out there and decided they were unsuitable for one reason or another. I even went so far as to get Physx running only to discover that it does not support cone or cylinder shapes. And convex hulls can only have 256 faces. Ug.

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

                @cphillips said:

                When I started this I took another look at all the physics engines out there and decided they were unsuitable for one reason or another.

                Is it switched to Newton 2.0... or is that not stable enough?

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

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

                  BTW. I had never heard of LazyScript 😲 . I must of missed it somehow. I am looking at it now. But from a glance it looks like an attempt to fix the same problem SketchyBehaviors is. Allowing others to write code that can be easily used by others.

                  Excellent work guys!

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

                    @unknownuser said:

                    Is it switched to Newton 2.0... or is that not stable enough?

                    Yeah, its the latest beta of 2.0.

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

                      so will the scripts be like the ones show in the picture, or will they be similar to whats being used in sketchy physics at the moment ❓ ❓ ❓

                      If you can read this, thank a teacher.
                      If you can read this in english, thank a soldier.

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

                        @camokid11 said:

                        so will the scripts be like the ones show in the picture, or will they be similar to whats being used in sketchy physics at the moment ❓ ❓ ❓

                        The behavior scripts are an evolution of what was in sp3x. ontick{}, ontouch{} etc.

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

                          so hopefuly not too hard then, ill have to try it when it comes out because ive got mixed feelings about it. One last thing, will it be compatable with sketchyphysics, eg: youcan run old sketchyphysics models on it, or have a bit of both worlds?

                          If you can read this, thank a teacher.
                          If you can read this in english, thank a soldier.

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            hobbnob
                            last edited by

                            I don't think it will be tay, as it uses a whole new physics engine.

                            My WIP Thread:Here

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

                              @camokid11 said:

                              so hopefuly not too hard then, ill have to try it when it comes out because ive got mixed feelings about it. One last thing, will it be compatable with sketchyphysics, eg: youcan run old sketchyphysics models on it, or have a bit of both worlds?

                              Sorry. Maybe simple models could be converted. But anything that used a controller field or scripted elements wouldnt work.

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

                                Out of interest, how is the joint data gonna be stored... in other words, is the JCT making a comeback?

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

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

                                  @wacov said:

                                  Out of interest, how is the joint data gonna be stored... in other words, is the JCT making a comeback?

                                  Joints will just be another behavior(s). I imagine most joints will not need a joint connection tool because they will connect themselves automatically via touching or something like "wheel" auto connects to "body".

                                  When you do need to manually connect a body to a joint you will do it in the joints properties. Probably a button like "Attach all selected bodies to this joint". Only not as wordy.

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

                                    Update. I put up a video of the current version. Its now working pretty well and there are a few interesting behaviors in place.

                                    First the video shows a cone being created and then a behavior being created for it. Toggle color. This simple behavior allows an group/component to be two different colors. Another behavior can tell it to toggle. It starts out the first color. Once behaviors are started using the button at the top the cone changes to its first color. When behaviors are stopped it returns to its original color.

                                    Thats kinda worthless by itself. But the second behavior added in the video allows the color to be toggled by clicking on the object. Note the Event and Signal field both contain "ToggleColor" That means when the click happens the toggle color behavior changes color.

                                    Next is Interpolate. It allows a object to smoothly move from one "pose" (position+rotation) to another by moving a slider. Note that the slider works even if the behaviors are not running. πŸ˜„

                                    Next is Follow Path. The behavior moves the object, Sang in this case, smoothly on the curve selected. The speed is adjustable even when the behavior is running and he can be set to ping pong or loop.

                                    Last are a few objects with the physics rigid body behavior.

                                    Video best viewed in 480p or higher. Otherwise you cant make out much. Not sure why the frame rate is so low in the video its smooth in real time.

                                    [flash=620,500:1zvyzk27]http://www.youtube.com/v/U1bar8gKVsI&hl=en_US&fs=1?rel=0&hd=1"[/flash:1zvyzk27]

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

                                      The rigid bodies seem to collide with a plane at ground level - will this be optional? Looking fantastic though, this will have many uses πŸ˜„

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

                                      1 Reply Last reply Reply Quote 0
                                      • Mike LuceyM Offline
                                        Mike Lucey
                                        last edited by

                                        πŸ‘

                                        Support us so we can support you! Upgrade to Premium Membership!

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

                                          πŸ’š πŸ’š πŸ’š Not looking too bad, still have mixed feelings with it though, ill have to try it out when the first release is available, but some of them could be useful...

                                          If you can read this, thank a teacher.
                                          If you can read this in english, thank a soldier.

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

                                            Collide with the invisible ground plane is just testing right now. But I think it might make sense for a default. If I was a totally new user I not expect the objects I just made on the "ground" to start falling as soon as I pressed start. But its open to debate.

                                            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