MSPhysics 1.0.3 (16 October 2017)
-
Thanks Anton_S, where is the "latest" version? Just to be sure.
-
The download link to the latest version is in the first post of this topic.
-
Hello !!
--- "And you do know that you can open SU2013 models with SU2016?" - YES
here I have a file (Domino.skp )with one of the first experiment with SketchyPhysics from 2007 and I noticed that SketchyPhysics it is much faster than MS Physics in many other applications It has to do with NewtonDynamics ? can you increase the threads ?
SketchyPhysics - about 40 seconds and MS Physics - around 3 minutes and 10 seconds--- "The chain thingy is a weakness in the physics engines." - ok ... but "my chain" behave more real than that with joints even if it breaks...
in the prior post the file "chain_psihics2_normal.skp"
I have created (SketchyPhysics)two types of chains one longer and one shorter plus two copies of those with another 2 bodies (frozen state)under and these chains behave quite real and after touching the bodies they no longer break...perhaps this is one of the weaknesses of weakness in the physics engines (the chain needs to know that it is currently moving) and this maybe happens even in MSPhysics.
--- file : dominox.skp what I can do about this ?? Small bodies entering in others even if I change the world scale ... it happens even with large bodies... (the idea creating this type of domino effect is from here https://www.youtube.com/watch?v=y97rBdSYbkg )
Now that I have started ..maybe I'm a pain in the axx with these questions ... sorry if I ask inappropriate questions ...
Thank you !!!
a file with one of the first experiment with SketchyPhysics from 2007
-
@anton_s said:
The download link to the latest version is in the first post of this topic.
Thanks,
Error Loading File main.rb
Error: #<LoadError: cannot load such file -- C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/win64/2.0/msp_lib_no_sdl.so>
C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/main.rb:28:in `<top (required)>'I have main.rb in the C:\Users\Ralph\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins folder.
and in the MSPhysics foder.
-
Ralphxyz,
When you get an error, "cannot load such file..." it might mean that the file doesn't exist. Are you sure you downloaded and extracted the latest version 0.7.1? Please check if there is msp_lib_no_sdl.so in C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/win64/2.0/. If there is I don't know why it brags; if there isn't, try downaloding and installing MSPhysics 0.7.1 again.
-
Cristyan,
There is not much I can do about the chain instability. Artificial chains, connected by joints, was a workaround. There is another way to get the chains to work properly and it would be by reducing Update Timestep, i.e 1/240. The smaller the update timestep the more accurate and stable the simulation is, however everything will be in slow motion when you run simulation.
Speaking of the Domino_2016, to improve performance, open MSPhysics UI, activate the Simulation tab and set Solver Model to Iterative 4 Passes and Update Rate to 3. This change should increase performance.
Speaking of the dominoX thingy, currently there is a bug in the physics engine when colliding with the compound bodies. I even assume that that compound collision bug could be the cause of the unstable chains in MSPhysics. To fix that, I advise you to select all the dominoes and set their shape to convexhull (Context Menu->MSPhysics->Shape->Convel Hull). Then set floor shape to Static Mesh. Then set World Scale to 20. You can as well, optionally, adjust Update Timestep, Solver Model, and Update Rate for the desired speed, performance, and stability. For that particular model, I figured an update timestep of 1/120, a solver model of iterative 4 passes, material thickness of 0, and an update rate of 2 would guarantee stable results. The idea is that you adjust simulation options for the most desired effect.
-
Yes, msp_lib_no_sdl.so is there.
-
Okay, I'll see what I can do about it.
-
Thank you !! if I adjust Update Timestep the chain simulation is working
And another thing in the last version the PLAY button is not working.. -
Cristyan, I fixed the replay play button. Try version 0.7.2. It's in the first post.
-
Play and Reverse buttons work fine. Play, Stop and then Play again or Reset is running into problems...
Emitted objects are not reset. Please test the model.
-
faust07, Thanks for posting, the accumulation does not grow, is that a shortcoming of MSPhysics. or something you control?
-
This you can control with MSPhysics. The lifetime of the objects is very short, so that they will be deleted after 100 Frames.
-
@faust07 said:
Play and Reverse buttons work fine. Play, Stop and then Play again or Reset is running into problems...
Emitted objects are not reset. Please test the model.Thanks for the report faust. I will fix it and also get the feature to save replay into model in the next release.
-
Where can I find documentation on how the servo works? There was a comment way back that had...
@unknownuser said:
CODE: SELECT ALL
rightx Left - right arrows
righty Up - down arrowsleftx A - D
lefty W - Skey('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.
What do I do with this?
-
Xbox controller please !!!!
-
Announcing version 0.7.3. Download in first post.
Faust07, I fixed the replay bug. I also added the feature to save replay into model. The replay is saved into model automatically just like in SP.
SynSuka3d, I added joystick controls similar to SketchyPhysics.
Here is a sample model: See controls in modelNote that in order for the joystick to work it must be attached to USB before SketchUp is opened; that is, restart SketchUp if joystick doesn't work in the first place.
-
Good news, as always.
-
The boat-car is a good example to learn the use of thrusters and joints (motor joint as a component copy).
Version 0.7.4 (May 26, 2016) has the same problem in Replay that Play, Stop and then Play again is running into problems...
Maybe it is my computer... -
The emitter test you posted in one of the earlier post works as expected. Can you elaborate more on what problems you encounter?
Advertisement