Possible piston controller bug
-
I'm using SU ver 8 and SP 3.2 on vista. My construction is just 3 groups: a cylinder, a tube (with a flange foot); and a box (used as a base). The cylinder is inside the tube and the tube sits on the box. I group the piston with the cylinder and joint connected it to the tube. I set the piston/cylinder to "frozen". When I press play this allows me to reset the piston controller from 0.5 to 0 before activating the piston action by touching the model. (Which is what I want to do.)
However, the "frozen" setting for the piston/cylinder does not work if my construction has 2 (or more) joints i.e. when I start over and group a piston with the cylinder and group a ball joint with the tube, and then joint connect the the piston to the tube and the ball joint to the base. In this case the cylinder is always advanced to the 0.5 setting of the controller immediately upon pressing play leaving no possibility of initially resetting the piston action to 0 before activating the model.
Does anyone know of a way to fix this problem? My goal is to be able to set the piston controller to 0 as an initial setting before any action takes place.
Thanks in advance
-
Well I can't really imagine the model from text, but to put it simply: a movable object will unfreeze others if they are connected.
A better way to reset values is changing the controller input, you can try 2 things:
slider('piston', 0.0) - which will set the piston to 0.0 by default, but the html slider will still be in the middle so it may get a bit jerky(slider('piston') - 0.5) * 2 - the default slider 0.5 gets reduced to 0.0, and x2 so you can still reach the full swing at 1.0, or -1.0
-
Thanks much for the help, that did the trick! I'm new to SP and greatly appreciate the assistance this forum provides.
Advertisement