SketchyPhysicsWiki
No edit summary
No edit summary
 
Line 7: Line 7:
 
#Accel: This states the fastest speed the piston can move.
 
#Accel: This states the fastest speed the piston can move.
 
#Damp: The amount of friction applied to the joint. By varying the accel and damp values, you will normally be able to get the balance of speed, power, and acceleration that you want.
 
#Damp: The amount of friction applied to the joint. By varying the accel and damp values, you will normally be able to get the balance of speed, power, and acceleration that you want.
#Controller: The ruby script to control movement
+
#Controller: The Ruby script to control movement
   
 
==Control==
 
==Control==

Latest revision as of 00:16, 18 December 2010

Piston

A Piston Joint

The piston is a type of joint. The object attatched to it can only move along the piston's length, with the aid of a controller.

Variables[]

  1. Min: The shortest distance the object can move
  2. Max: The furthest the object can move
  3. Accel: This states the fastest speed the piston can move.
  4. Damp: The amount of friction applied to the joint. By varying the accel and damp values, you will normally be able to get the balance of speed, power, and acceleration that you want.
  5. Controller: The Ruby script to control movement

Control[]

Like many other joints, the piston can be controlled by both manual input and a formula. It is really just an updated version of the slider.

The UI
Joints SliderPistonHingeServoMotorGyroFixedCorkscrewSpringBallUniversalGears
States StaticFrozenIgnoreNoCollisionShowCollisionNoAutoFreezeMagnetic
Properties MagnetThrusterEmitterOnTouchOnTick
Shapes defaultboxspherecylinderconecapsulechamferconvexhullstaticmesh