The ball joint's min and max need to be set to 0.
Posts
-
RE: Rolling cylinder problem
well explode the boxes totally. then gruop them again and set it to staticmesh
-
RE: My next game...
I'd actually kinda like to but I'm not that much good at anything. anything I could do?
by the way my warehouse name is jake
-
RE: Lookat feature
@wacov said:
Yeah. You can also change what it's looking at; try:
if getVar("look")==1;lookAt("box");else;lookAt("sphere");end
Ok thanks.
-
RE: Where can I find a comprehensive, complete script tutorial?
if key('e')==1;setVar('foo',1);elsif key('q')==1;setVar('foo',2);end
Means, if key('e') is down it sets the variable foo to one, but if key('q') is down it sets the variable foo to two.
Put
getVar('foo')
in a motors controller field and when you push key('e') the motor will act normally but when you push key('q') the motor will double it's speed.
Hope that will help.
-
Lookat feature
Is there some way to turn off the lookat feature after it is started.
-
RE: Some Problems with Servos
@wacov said:
Jackson, get SP3. I don't know why everyone is downloading SP2, but 3 has been out for a while now has has a bunch of useful features... like the noCollision state. Objects will move normally, but they can't collide with anything. Links are at:
http://sketchyphysics.wikia.com/wiki/SketchyPhysicsWikiEvery newbie goes to the sketchyphysics home page and SP3 is not in the download section,. Naturally they download the highest version showing which is sp2.
-
RE: Some Problems with Servos
@jakson said:
I have made a wooden Mannequin and tried to rigging it.
But with the standard settings (-90..+90) for the Servo there is only a tiny movement visible.
If I expand the values to (-1000..+1000) some parts starting to spin very fast.
Is this a general problem or did I something wrong?
Thanks Jakson
No you didn't do anything wrong. It's just that you can't make a servo's values go over (-179..+180) or it's going to do a 360.
-
RE: Acceleration script (working)
Good, only thing is that when you hit something it doesn't slow you down. But it's very good.
-
RE: SP3x Apr3 version.
@frediivx said:
Im not 2 great at scripting, so could you tell me how 2 control the sound, e.g. play a gunshot.wav when joybutton('RB') is pressed? I tried different variations of things like this joybutton('rb'); playsound('gunshot.wav') but can't get it 2 work -- Edit --
DW i resloved it in the endhow, i can't get it to work
-
RE: [Plugin]SketchyPhysics3 beta.
@l.frisken said:
mine does that but it refuses to connect. Very strange
Try clicking on the sphere and then ctrl clicking on the joint. That's how I've always connected joints.
-
RE: An Help manual for Sketchyphysics
I'll help if i can. I would probably learn a lot if you would start something since I'm somewhat a newbie. Especially sp3 rc1.
-
RE: Is Sketchyphysics Easy To Understand As A Newbie?
@alienizer said:
I voted "Disagree" because for anyone running the software for the first time will get lost because and just because of the lack of help. I had a hard time, but now, it's all easy for me. I didn't even know how to make a thruster go along the X instead of the Y until =Physicsguy=, Wacov and CPhillips replied to my post. But I had to ask, and be persistent about it. Not every new users will come here and many long time users don't even know this board exist!
Sketchup and SketchyPhysics are the most and easiest 3D software you can get. Unfortunately, they are not advertised properly, and the help file is poor. Thanks to the online vids or I'd still be wondering how this thing works.
i agree, once you get advanced enough to now what's up it's not hard though. just wish i could write script as easily as wacov.
cpillips maybe you should start a help topic like your FAQ
-
RE: Toggle script (working)
@wacov said:
Finally got around to getting my toggle script working with the global variables; here it is, in all its absurdly long glory!
if frame==1;setVar("repeat",0);setVar("toggle",0);end;if joybutton("a")==0;setVar("repeat",1);getVar("toggle");elsif getVar("repeat")==0;getVar("toggle");elsif joybutton("a")==0;getVar("toggle");elsif getVar("toggle")==0;setVar("repeat",0);getSetVar("toggle",1);else;setVar("repeat",0);getSetVar("toggle",0);end;
And the more readable version:
if frame==1; > > setVar("repeat",0); > setVar("toggle",0); > > end; > > if joybutton("a")==0; > > setVar("repeat",1); > getVar("toggle"); > > > elsif getVar("repeat")==0; > > getVar("toggle"); > > > elsif joybutton("a")==0; > > getVar("toggle"); > > > elsif getVar("toggle")==0; > > setVar("repeat",0); > getSetVar("toggle",1); > > else; > > setVar("repeat",0); > getSetVar("toggle",0); > > end;
There's probably an easier way, but this could be useful for stuff like landing gear, doors, and switches of any kind.
MAN that's is unbelievable thanks wacov
-
RE: SP3x. The Plan.
@cphillips said:
SP3x will be out as soon as I can finish a few things and add some warnings.
In the meantime a few of the new script commands are available even without the events.
Create a cone and a sphere. Then set the thruster to:
lookAt("sphere");0
lookAt is a new script command that forces an object to "point at" another uniquely named object.
The ";0" part means that the thruster is off. If you want you could make it ";leftx" or whatever.
Note I think I might change lookAt to something else. So it might not work for long. Thats the nature of these experiments.
thought you guys might like this
-
RE: Sketchyphysics 3rc1 bug
@hobbnob said:
what do we use to use the on touch and on click functions? give an example if possible
@hobbnob said:
also, how does the sound work? I saw the file in the depths and was wondering if it would work on the warehouse or it is local to the home pc
i'm wondering too
-
RE: Sketchyphysics 3rc1 bug
like i said after cpillips updated it it worked for me and i'm sorry hobbnob i didn't mean to ignore you