[Plugin]SketchyPhysics3 beta.
-
@cphillips said:
Big changes in this release are emitters, keyboard support, lots of error checking, and a better organized UI.
http://sketchyphysics2.googlecode.com/files/SetupSketchyPhysics3b-Mar8.exe
I'll make separate posts for the new features. Post general questions and bugs in this thread.
Changes:
Changed version to beta. No 3dwarehouse restrictions.
Added emitters as a body property. FUN!
Added more error checking on the simulation and formulas.
Better handling of critical errors when the simulation is running.
Should be much more stable now and will get even more stable as I get reports of errors.
Added keyboard support with key("space") functions.
Made joystick explicit with joy("lefty") functions.
Made joystick buttons explicit with joybutton("a") functions.
Removed some of the short names from the controller fields. a,b,x,y,rightx,righty,leftx,lefty, remain but may be removed.
Added interface code to SketchyReplay to allow renders to call an export.
BUG SketchyReplay doesnt recognize emitted objects.
Updated installer to include the mscvr71.dll file.
Cleaned up the UI
-Added properties section
-Added boarders around sections
-Layout fixes.
-Formula boxes are now blueish.
-Some work on getting blur working on Mac. No luck yet.
Added bulk "auto freeze" options to right click menu.
Fixed bug in formulas with space and $
Added every(number) keyword.Is there a list of what controller fields are available? I have a logitech ATTACK 3 and it works with joy("lefty") and joy("leftx"). I want to assign the slider on the joystick. In old version of sketchyphysics it seemed to recognize it as rightx.
-
I tried other scripts and found joyRY is mapped to the Logitech ATTACK3 slider so I am running now. However if a list exists of the possible controls script variables/inputs, or a snippet of the source code, please point me to it. Thanks.
-
@norviewsveteran said:
I'm having trouble with a rear differential, it seems that you can't have gears connected to each other when their hinges are in the same group. When I run the simulation, the gears don't mesh, and when I go to end the sim, it creates a bug splat. Is something wrong or am I doing it wrong?
Post the model and I'll take a look.
-
@cray said:
Is there a list of what controller fields are available? I have a logitech ATTACK 3 and it works with joy("lefty") and joy("leftx"). I want to assign the slider on the joystick. In old version of sketchyphysics it seemed to recognize it as rightx.
No final list yet. But
rightx,righty,leftx,lefty,joyLX,joyLY,joyRX,joyRY
will continue to work for joystick and keyboard emulation until at least SPIV.
The joystick button shortcuts:
a,b,x,ywork now. But I may remove them if I do a 3.x release. Those names (a,b,x,y) are just too common.
To be future proof use the new syntax instead.
joy("leftx")
and
joybutton("a") -
@cphillips said:
Post the model and I'll take a look.
http://sketchup.google.com/3dwarehouse/details?mid=b779c6f6925171b2a5dcea3d38e1e185
-
@norviewsveteran said:
I'm having trouble with a rear differential, it seems that you can't have gears connected to each other when their hinges are in the same group. When I run the simulation, the gears don't mesh, and when I go to end the sim, it creates a bug splat. Is something wrong or am I doing it wrong?
you can try grouping the hinges with the wheels instead of each other
-
That's a good idea, and after trying it a few times, still no luck.
-
-
I grouped the motor with the one wheel you tell me of it is what you want
-
That's not really working though- if you lift it up and set it to static, just the wheel with the motor turns, everything else just kind of chills.
-
yeah i see what you mean
-
I dont know enough about a differential to know if it is possible to build one in SP or not.
Sorry that model crashes. It has something to do with the gears but I cant quite figure out what.
-
I know for a fact that differentials aren't currently possible in SP without actually making shapes that mesh together. Chris, this model shows what a differential is there for (power distribution), and how it's supposed to work... if more resistance is induced on either wheel, a differential allows the power to be shifted to the other wheel; in the model, the blue parts would connect to the wheels.
The animation shows how a real differential works, and the slider conrols how much 'resistance' there is on each side.(NOTE: It's not a simulation of a differential, and WILL NOT WORK in a dynamic model. There are no gears, just motors to show what the gears would be doing)
-
I should say that I dont know why the gears in SP dont work for a differential. Its probably some deficiency in the gears but I dont know what.
-
It's because when the object a gear is on is rotated, it doesn't affect the gear it's connected to; the connected gear is only affected when the gear moves in relation to the object it's attached to. Also, if one gear's object is rotated around the gear it's connected to, it has no effect; for a differential to work, it's crucial that this is fixed. Gears need to be far more dynamic if complex mechanisms like differentials will work.
-
@norviewsveteran said:
That's not really working though- if you lift it up and set it to static, just the wheel with the motor turns, everything else just kind of chills.
OK NorviewsVeteran is this what you want tell me if it is
http://sketchup.google.com/3dwarehouse/details?mid=aefd9eefd2b0ad7a50f8074eaf5d7313
-
Sorry but I don't think that's it. If you hold one wheel still, the power should be sent to the other wheel.
-
@wacov said:
Sorry but I don't think that's it. If you hold one wheel still, the power should be sent to the other wheel.
but wacov when you turn the buggy it does send the power to the other wheel and when you hold the one wheel it does send it to the other it jerks a little but when you turn the hidden geometry you can see that it is transferring the power
-
Oh yeah! Sorry... I just grabbed one of the wheels, and it didn't stop, so it didn't look like it was working.
-
The problem with this is that it only works through the cones physically moving each other; what's really needed is a way to use sketchyphysics gears to do it, so the parts don't have to be touching.
Advertisement