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
- accel: Unknown
- damp: Unknown
Control of a gyro can be achieved either in real time or pre-set. The control system:
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.
|Joints Slider • Piston • Hinge • Servo • Motor • Gyro • Fixed • Corkscrew • Spring • Ball • Universal • Gears|
|States Static • Frozen • Ignore • NoCollision • ShowCollision • NoAutoFreeze • Magnetic|
|Properties Magnet • Thruster • Emitter • OnTouch • OnTick|
|Shapes default • box • sphere • cylinder • cone • capsule • chamfer • convexhull • staticmesh|