Camera Controls

If you liked this item, please rate it up on Steam Workshop page.

Author: TechnologicNick

Last revision: 1 Jun, 2022 at 14:34 UTC (1)

File size: 8.36 MB

On Steam Workshop

Description:
This mod adds a Gyro Sensor that compares the direction of the Gyro Sensor to the direction of the camera of the player.

Connect it to electric engines to create a turret that you can control using your camera. You can also connect it to a logic gate to do some other stuff.

OUTPUTS:

  • Yaw (Positive) = Player is looking to the left
  • Yaw (Negative) = Player is looking to the right
  • Pitch (Positive) = Player is looking down
  • Pitch (Negative) = Player is looking up
  • Roll (Positive) = The Gyro’s side to the right of ‘TOP’ is higher than the side to the left of ‘TOP’
  • Roll (Negative) = The Gyro’s side to the right of ‘TOP’ is lower than the side to the left of ‘TOP’

HOW TO CONNECT:
Driver’s Seat -> Gyro Sensor -> Gyro Outputs -> Electric Engines -> Bearings

HOW TO MAKE A TURRET:
It works the best if you apply the Yaw first, then the Pitch and finally the Roll.
>>Example<<

TODO:

  • Add raycast mode.
  • Add raycast mode that includes the drop of potatoes.
Download
Revisions:

Old revisions of this mod are available below. Click the link to download.