How to change the density of the emitters?
-
Hi, sorry but I do not speak English, so I'm using the google translator.
I have a question, or rather a necessity, I'm trying to make a sinking ship, and what occurred to me to do is to use a sphere with issuers, to simulate the water entering the boat, the problem I have is that spheres have to be heavy enough to sink the ship, but as I can not edit the density of emitters, I have no other choice but to drastically reduce the density of the boat and the water, but the densities become so low that affects much simulation.
My question is if there is any way that I can do to make the density of emitting more than 0.2, i try changing density in plugins / SketchyPhysics but did not work, or i do not know how.
Does anyone have any suggestions that I can do? also accept other alternatives, please answer, thank you very much, and again sorry for my English. -
hi,it's just a density of several combined groups. i think so
-
Hi Anton, very thanks, but not works for me. i change the file, sk works not correct (SP7)
-
@javisomm said:
but as I can not edit the density of emitters
Yup, SketchyPhysics emitter function does not set density.Here is the new SketchyPhysicsTool.rb for SP3.2 which makes minor fixes and improvements to SP simulation.
Copy to ...\Google SketchUp [n]\Plugins\SketchyPhysics3\ and click yes to replace
[attachment=0:1tdn0e75]<!-- ia0 -->ControllerCommands.rb<!-- ia0 -->[/attachment:1tdn0e75]Now, you won't have to reduce the density of the boat; just increase the density of the ball you're emitting.
-
-
Thank you very much, it worked , then when you finish the ship and its sinking, I will do a video and I'll show
-
thanks Anton, now it works
-
@javisomm said:
Thank you very much, it worked , then when you finish the ship and its sinking, I will do a video and I'll show
@sofie9536 said:
thanks Anton, now it works
Great
I'll probably do more improvements and fixes, until CPhillips (the creator of SketchyPhysics) releases a new version. -
I wait for the new version, it's a holiday for me
-
Anton: hooray for you. Can you give a quick rundown on what you have or will be doing? I will also try to experiment with what you released above but a short rundown would be greatly appreciated.
-
@mptak said:
give a quick rundown
In progress, I didn't done much there. The original focus was to improve SP error handlers. In original version when you got an ontstart error, it displayed a huge messagebox lacking the exact info. The new error handlers are much better. They give you the info you need:
- Stating exact callback property, like if error comes from onpostframe, it says 'OnPostFrame Error...'
- the error
- line number
- group entity from which the error comes from
- the error is posted in both the messagebox and ruby console
Features:
- Added FPS to the status text
- My own ViewportDrawing Utility which modifies the model bounds to avoid being clipped
- Added cursorPos function, which returns [x,y] cursor position relative to Viewport origin.
I'll make a documentation of all SP function once I'll clean it up a little.
My aim: First - clean-up and fix bugs. Later - we'll see.
-
hi Anton, with the 2 new files will no longer run my twilight render engine (animation rendering). ? please help
-
I installed the old files back, thanks anyway anton
-
Anton, you wrote Sketchyphysicstools.rb and controllercomands.rb yourself?
Have you posted these in a separate thread so everyone can benefit from them?
Fantastic work, I'm really impressed
Ash
-
@ashscott said:
Anton, you wrote Sketchyphysicstools.rb and controllercomands.rb yourself?
No, just modified them.
@ashscott said:
Have you posted these in a separate thread so everyone can benefit from them?
Well, those files don't do much; they don't fix SU2013 crash, and in fact there are much more improvements and bug fixes to be made, including those are not the only files that require optimizations. Fixing them would require re-uploading the whole SketchyPhysics.I'm also not sure if I have the right to mess into this project. I can work on a unofficial release, but I think CPhillips will update it soon. So, making more changes wouldn't be necessary.
Advertisement