MSPhysics 1.0.3 (16 October 2017)
-
Hello Anton !
Many thanks to you for both clothworks and MS Physics plugins, these are really nice to use and user friendly. MS physics can sometimes be a little tricky when it's about animating a model with a lot of groups but I guess there's always a way to make things work.
In a project I'm drawing for a client, I'm designing a sliding/folding door which is made of hinge between the panels. I found pretty easily how to achieve the folding action with rotation limits and for the moment it's possible to slide it but I had to reduce the slider joint stiffness in order to be able to fold panels completely (don't know why it's not possible when stiffness is set to one).
But my biggest concern is to be able to keep the sliding action on one panel (the others linked by hinges are following) without applying a straight constraint on the whole panel. I'd like only the hinge part of this panel to follow a straight way (a railing)In the end, it should rotate freely and slide at the same time... If my problem isn't clear, I can always copy paste the concerned model in a new file if that's easier to understand.
https://www.reynaers-particulier.fr/_img/_pages/porte-pliante-aluminium/3.jpg
Thanks for your help,
-
Hello Baumard,
What you're trying to achieve here is nested joints. There should be a top level slider joint, as you already have. There should also be temporary boxes with hinges inside them; one box per each hinge, located at each axis. The boxes should be set noncollidable. Then the slider is supposed to be connected to the boxes and each hinge to the door. That way the boxes will slide and the doors will rotate.
Another thing to consider in that case is to user Acurate Joint Solver model or Iterative 64 passes. These options can be adjusted in UI. That way joints will be stiffer.
Anton
-
@cgltkn said:
Hi Anton,
I understand your approach on the unreliable nature of "compound from cd" shape. However without it, there isn't a better way to make a front wheels of a car. You can't try to make sub groups of a car mesh, it's a lot of work and "compound" doesn't work as an alternative because in collision wireframe body of the car interferes with the rotating tires.
Can't you at least leave compound from cd in the selection list with a warning? It would be better if any demanding users should be able to use it.
Best regards.
For wheels, use sphere/cylinder shape. Have the parts intersecting the wheel be assigned a non-collidable state. Generally, it is a bad and performance consuming to rely on collision detection. If you examine SketchyPhysics car making tutorials at youtube, you can apply same techniques to MSPhysics.
-
Thanks for this help, that makes sense now. I knew there was something missing in the parents/children hierarchy but didn't know what. I may bother you with another question if you don't mind.
Can the plugin keep the starting point (considered to be 0 and with a defined value as maximum sliding lenght) of a slider joint applied to 3 sliding doors at the same level? Let's say I would launch the simulation and move them at different lenghts. In the end, I would stop the simulation and keep them at these various positions. But when launching the simulation again, it would consider the initial starting point as a limit for the three of them, no matter how far from it they are.
I don't know if i'm very clear, that's quite hard to explain but I can provide pictures if that does not make sense.
To simplify my question : Once simulation is stopped with objects moved, is it obliged that the reference point of the slider joint is changed according to each new position of the objects ?
I swear, that's my last one
-
@traxxx said:
To simplify my question : Once simulation is stopped with objects moved, is it obliged that the reference point of the slider joint is changed according to each new position of the objects ?
Yes, reference point is changed. In MSPhysics, stop simulation option is only when your aim is to have a final view; otherwise, use reset.
-
That's what I thought but I just wanted to be sure I wasn't missing anything ! Thanks !
-
Hello
My model is a bit complex and the frame rate becomes to low, I'm down to 6 frames/sec.
My graphic card is a AMD Radeon HD 7870, OS Win 10-64 bit, Processor Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 3401 Mhz, 8 gig ram.What kind of hardware is recomended to speed things up?
I will appreciate your suggestions, thanks.
-
Hello Clue,
Your hardware is fine. It is MSPhysics plugin that needs succinct improvement and the model you configured for MSPhysics.
Anton
-
Can I use this plugin to simulate nails in wood? I can't figure out which joint to use.
-
Hi. Great thanks for an excellent tool
I have an issue with floathing items. I work as a professional with floating docks, and the MSP simulation in water is something I would really love to use; actually a perfect tool for me. But.. when making a pontoon with several materials, the simulation will give strange results. I believe there is a some kind of bug.
As attached is a simplified concrete pontoon of two parts: a shell of concrete and a float of styrofoam. When dropped to float, you see four different scenarios happen and none of them is accurate. From my point of view it would be easy if the simulation could work without calculation; just simply specifying the parts density, group them and let them float.
Thanks for your attention in advance!
-
@oheimala said:
I have an issue with floathing items. I work as a professional with floating docks, and the MSP simulation in water is something I would really love to use; actually a perfect tool for me. But.. when making a pontoon with several materials, the simulation will give strange results. I believe there is a some kind of bug.
As attached is a simplified concrete pontoon of two parts: a shell of concrete and a float of styrofoam. When dropped to float, you see four different scenarios happen and none of them is accurate. From my point of view it would be easy if the simulation could work without calculation; just simply specifying the parts density, group them and let them float.
The shell must consist from five separate subgroups, that is from four wall groups and one base/ceiling group. The top level group should be assigned Compound shape. That way, the collision shape generated will reflect the actual one. If you enable collision wireframe in simulation, you will see what is going on. So if you convexify subgroups, your resulting simulation would be realistic and the density you assign will reflect the density of material properly.
-
@ropefelt said:
Can I use this plugin to simulate nails in wood? I can't figure out which joint to use.
Yes you can, but the nails will not leave a hole in the wood. Just connect the nails to a piston joint and control them with a slider controller. Also, make sure the board or the nails are set to non-collidable.
-
Hi Anton,
A question for functions of a next version of MSPhysics:
Could it be possible to store transformations (translation, rotation, scaling) and manipulations off visibility on nested groups in the replay record data?
At present, these changes can be retained during an MSP session, played back and exported as a movie (frames), but disappear after saving, closing and reloading the replay data.
Here is an example of manipulating the visibility of embedded groups to achieve the effect of winking, if you want to test it.
Thanks!
-
@faust07 said:
Hi Anton,
A question for functions of a next version of MSPhysics:
Could it be possible to store transformations (translation, rotation, scaling) and manipulations off visibility on nested groups in the replay record data?
At present, these changes can be retained during an MSP session, played back and exported as a movie (frames), but disappear after saving, closing and reloading the replay data.
Here is an example of manipulating the visibility of embedded groups to achieve the effect of winking, if you want to test it.
Thanks!As far as I recall, you can already do that. In MSPhysics Replay Settings menu you can enable material record, style record, and other stuff. By default, only the camera and transformations are recorded.
Once you enable the recording, you will have to re-record, so that new data is recorded in your animation.
-
Oh, I don't think I've explained my problem clearly enough. I have to work on the translation. I meant the permanent storage of manipulations to subgroups in replay files. These are lost after closing the model file and later opening and loading the replay data.
-
Anton....firstly thanks for your AMAZING plugin. It is unbelievable how fast it is even on low powered hardware.
I have slider controls which I have added programmatically using ControlPanel.add_slider and ControlPanel.get_slider_value(name) and they work fine, but ControlPanel.set_slider_value(name, value) fails with an error in the html of the control panel which says something like error cannot find sliders.
Is there a fault in the html/javascript/missing file or am I doing something wrong?
AN EXAMPLE OF HOW TO SUCCESSFULLY SET A SLIDER VALUE WOULD HELP A LOTsincerely
Sujit Vasanth
PS. I can get round it by destroying all sliders and rebuilding them, but the redrawing slows my program down,
-
Hello,
I've used MSPhysics for a simulation on my project, and now, even after disabled the plugin, my model keeps with a "Created with MSPhysics 1.0.3" message on the upper left corner, and i can't manage to remove it.
Do you guys faced it?
Thanks in advance.
-
@lvskk said:
Hello,
I've used MSPhysics for a simulation on my project, and now, even after disabled the plugin, my model keeps with a "Created with MSPhysics 1.0.3" message on the upper left corner, and i can't manage to remove it.
There's a layer called MSPWatermarkText - just turn it off
-
Great extension. How to remove watermark with text: "Created with MSPhysics 1.0.3" If there is option to buy it where I can find it?
-
Hello,
I am trying to simulate an omnidirectional 3WD robot in MSphysics using motors and cylinders to simulate the omnidirectional wheel as shown in the attached file. However, the robot does not move in a straight line when the front wheels rotate at the speed but in opposite directions despiste being symmetric. Does anyone have any suggestions of what I can do please ? Thank you in advance.
Advertisement