Fandom

SketchyPhysicsWiki

Gyro

103pages on
this wiki
Add New Page
Talk0 Share
Gyro

A Gyro Joint

Any object connected to a gyro joint will have the axis the joint was drawn on be locked. Example: a gyro is placed pointing upwards. when connected to a box, the box will never tip over as its vertical axis is locked.

How to use: Do NOT group the gyro to the object!
Just joint connect the gyro icon to the object.

Example: Gyro vs. Motor

VariablesEdit

  • accel: Unknown
  • damp: Unknown

ControlEdit

Control of a gyro can be achieved either in real time or pre-set. The control system:


[0,0,1]

[x,y,z]

Example: if you want the verticle axis locked (z axis) give it a value of 1. Horizonal locked... (x or y axis) give them a value of 1.

Try it: Make a verticle cylinder, add the gyro function to the top, (remember do not group the "hand" to the object). Just joint connect to the object. Use the following values to test.

[0,0,1] locks the verticle "z" axis.

[1,0,0] locks the "x" horizontal axis. (note how the cylinder falls to one side)

[0,1,0] locks the "y" horizontal axis.

[1,1,0] locks the "x" and "y" axis horizontal axis. (note the horizontal axis tilts 45 degrees)

[0,1,1] locks the "y" horizontal and "z" verticle axis. (note the horizontal axis tilts 45 degrees)

[1,0,1] locks the verticle "z" and "x" horizontal axis. (Note how the cylinder tilts 45 degrees)


Affects the orientation of the connected object; each number controls an axis. The numbers can be replaced with dynamic formulas or even script.

The UI
Joints SliderPistonHingeServoMotorGyroFixedCorkscrewSpringBallUniversalGears
States StaticFrozenIgnoreNoCollisionShowCollisionNoAutoFreezeMagnetic
Properties MagnetThrusterEmitterOnTouchOnTick
Shapes defaultboxspherecylinderconecapsulechamferconvexhullstaticmesh

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.