MSPhysics 1.0.3 (16 October 2017)
-
Please help:
how can I reach the "self splitting" Method in MSPhysics? The simulation stops with the following error:
"MSPhysics Simulation has been aborted due to an error!
MSPhysics::ScriptException: A NoMethodError has occurred while evaluating entity script, line 1:
undefined methodontouch' for #<MSPhysics::Body:0x11916240> Trace: MSPhysics Script:1:in
add_group'
..."This script works in SketchyPhysics:
ontouch{
split(self,2)
}And the next thing is: how do I define paths in MSP analogous to the SP-curve method in the context menu?
-
These features aren't available in the current version of MSPhysics.
-
OK, have just read your very long TODO list ... "path follow joint", "advanced explosion function" ... and much more. I wish you 48 hours a day.
First I thought, MSP is more focused on scientific simulation ( ), what can be seen at the many metal materials and the many possible fine adjustments. But it is refreshing to experiment with it.
Now I also read in the FAQ that: "The major aim of MSPhysics is to improve gaming in SketchUp" - Other interesting feelds are physical based simulations and animations of every kind. Nevertheless, I have two more questions: Is there a comparison of differences in script commands between MSP and SP, or is something like that planned for the future? Is there somewhere another forum where MSPhysics issues are discussed?
It seems that there is a relatively small interest in this forum. -
Faust, once it gets to version 1.0, a list of comparable functions between SP and MSP would be added, as well as, potential SP compatibility. There is no other forum yet either. Once all the features, including soft bodies, are added and a high quality demonstration of an FPS game or something else is made, this project might gain more interests, but for now it's in development.
-
Hi Anton,
In Sketchyphysics there is a "controller" dialog box when simulation is runnging, which has a slider to control each individual servo. Is there anything similar in the MSphysics?
-
Version 0.5.0 has been released!
Update change log: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/CHANGELOG.md
Download available in first post. -
Great news, Anton. Short question: I want this Topic not bloat with simple examples and tests. Should I better open a new topic as entitled "MSPhysics examples and tests"?
-
Hello,
Does this work on SU 2016 64bit ?
Thanks
-
Hi, I'm just trying it on SU2016 make. It all seems to work but i cannot understand how to use piston or servo motor or motor.
If i press UI button i expect a window with interactive controller to appear but it's not, or better, a window appear, with many tabs, but the joint tab is empty when in play mode.
So, how to move an object connected to a servo joint? -
@gepponline77 said:
Hi, I'm just trying it on SU2016 make. It all seems to work but i cannot understand how to use piston or servo motor or motor.
If i press UI button i expect a window with interactive controller to appear but it's not, or better, a window appear, with many tabs, but the joint tab is empty when in play mode.
So, how to move an object connected to a servo joint?- Drawing 1 group.
- Create a Joint.
- Select the "Joint Connection Tool" (red/green, rotary arrows)
- Click onto group
- Hold the left Ctrl / Shift
- Click onto Joint
- Done!
/OR/
- Drawing 2 group.
- Click on one of them. Be it an "A".
- Create a Joint on "A" group.
- Show UI, Remove the check mark from the "Connected Collide" check box.
- Controller:
righty * 10 /OR/ rightx * 10 for right arrows. 10 is the velocity. key('up') /// key('down') /// key('left') /// key('right') lefty /OR/ leftx for WASD key('w') * 10 for "W" button on keyboard key('lbutton') for left click on mouse ( lbutton, mbutton, rbutton ) get_var('variable') for script.
- Select "A" group and joint. (Hold the left Ctrl OR Shift)
- Right click / Make Group
- Select "Joint Connection Tool"
- Select "B" group
- Hold the left Ctrl OR Shift and click onto Joints.
- Done!
Not complicated.
-
Maybe I didn't explain well my problem.
I know how to use joints!
The problem is that if use hinge, or motor or slider, all work well. I simply have to drag my object to move it.If i use piston or servo, in Sketchyphysiscs, when i press play, a popu control panel with a slider appear and it allow me to mov emy object.
With MS, nothing appear and i can't move my object -
@gepponline77 said:
Maybe I didn't explain well my problem.
I know how to use joints!
The problem is that if use hinge, or motor or slider, all work well. I simply have to drag my object to move it.If i use piston or servo, in Sketchyphysiscs, when i press play, a popu control panel with a slider appear and it allow me to mov emy object.
With MS, nothing appear and i can't move my objectI'm sorry, I misunderstood. In the MSPhysics at present there is no "Controller Panel".
Anton is likely to put into it as well. For the time being, you can control the keyboard. -
@sekramer10 said:
Hello,
Does this work on SU 2016 64bit ?
Thanks
From the requirements section of the website:
http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/README.mdSketchUp 6 or later. SU2016 64bit is recommended!
-
@pituphysics said:
For the time being, you can control the keyboard.
Could you please explain me how?
For example, if i place a servo joint connected to an object, what should I do to move that object in play mode? -
@gepponline77 said:
Could you please explain me how?
For example, if i place a servo joint connected to an object, what should I do to move that object in play mode?Write this codes into Joint / "Controller":
rightx Left - right arrows righty Up - down arrows leftx A - D lefty W - S key('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.
-
Sorry but for me is really unclear.
What should i have to write?
Controller field is a single line field.
So eventually i can insert only a row of what you have write above.
I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
Of course is my fault.
But could you gave mme an example step by step of using a piston joint? -
@gepponline77 said:
Sorry but for me is really unclear.
What should i have to write?
Controller field is a single line field.
So eventually i can insert only a row of what you have write above.
I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
Of course is my fault.
But could you gave mme an example step by step of using a piston joint?I made an test model: piston test.skp
-
@pituphysics said:
@gepponline77 said:
Sorry but for me is really unclear.
What should i have to write?
Controller field is a single line field.
So eventually i can insert only a row of what you have write above.
I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
Of course is my fault.
But could you gave mme an example step by step of using a piston joint?I made an test model: [attachment=0:1hwdkrag]<!-- ia0 -->piston test.skp<!-- ia0 -->[/attachment:1hwdkrag]
Succeeded solve?
-
Very good example and important notes above. It works.
-
@faust07 said:
Great news, Anton. Short question: I want this Topic not bloat with simple examples and tests. Should I better open a new topic as entitled "MSPhysics examples and tests"?
Yes, I can see that you already did. However because there aren't many tutorials on how to use MSPhysics and because its generally not done, the topic could be quite empty for a while, but don't worry once the project is done, I'm gonna help you fill it in.
@pituphysics said:
In the MSPhysics at present there is no "Controller Panel".
Anton is likely to put into it as well. For the time being, you can control the keyboard.Yep, I'm planning to put in all the feature of SketchyPhysics and more.
Advertisement