Hinge Module
The hinge module allows the user to control hinges on the grid. Hinges are particularly vulnerable to phantom forces and the Almighty Clang, so we leverage the Activity Monitor to ensure hinges are stopped and locked when not in use. Players can simply define an angle and speed of rotation without worrying about direction, upper/lower limits, or their grid ripping itself apart.
Commands
rotate
Rotate a hinge or group of hinges to a specific angle between -90 degrees and 90 degrees.
hinge/rotate <Hinge|Group> <Angle> [--options]
Options
Option | Values | Unit | Description |
---|---|---|---|
speed | -5.0 - 5.0 | RPM | Set the speed of the hinge. Negative values will reverse the hinge. Default is 1 RPM. |
Example
hinge/rotate LandingGearHinge 90;
lock
Lock a hinge or group of hinges.
hinge/lock <Hinge|Group>
Example
hinge/lock LandingGearHinge;
unlock
Unlock a hinge or group of hinges.
hinge/unlock <Hinge|Group>
Example
hinge/unlock LandingGearHinge;
reset
Reset a hinge or group of hinges to their original position (0 degrees).
hinge/reset <Hinge|Group>
Example
hinge/reset LandingGearHinge;
speed
Set the speed of a hinge or group of hinges in RPM.
hinge/speed <hinge|Group> <Speed> <Options>
Options
Option | Values | Unit | Description |
---|---|---|---|
add | Indicates that the provided speed should be added to the current speed. Allows increment speed changes while in motion. | ||
sub | Indicates that the provided speed should be subtracted from the current speed. Allows decremental speed changes while in motion. |
Example
Set speed to 2 RPM:
hinge/speed LandingGearHinge 2;
Increase speed by 2.5 RPM:
hinge/speed LandingGearHinge 2.5 --add;
Decrease speed by 1 RPM:
hinge/speed LandingGearHinge 1 --sub;