Wired Cam Controller
From GMod Wiki
Wiremod Tool | Back |
Brief
The Cam Controller functions like a camera with the specified position and angle.
Instructions
Spawn the Cam Controller, optionally link it to a pod then wire it up.
Inputs
- Activated: Whether the camera should be activated or not
- Zoom: How much the camera should zoom in/out
- X: The X position to place the camera at
- Y: The Y position to place the camera at
- Z: The Z position to place the camera at
- Pitch: The Pitch angle of the camera
- Yaw: The Yaw angle of the camera
- Roll: The Roll angle of the camera
- Position: The vector (XYZ) position of the camera
- Direction: The vector (XYZ) direction of the camera
- Angle: The PYR angle of the camera
- Parent: The parented entity of the camera (this prevents it from lagging behind)
Outputs
- X: The X position of the point the camera is looking at
- Y: The Y position of the point the camera is looking at
- Z: The Z position of the point the camera is looking at
- On: Whether the cam controller is currently in use
Variables
- Static camera: If this is checked, the only inputs are Activated and zoom. When the cam controller is spawned, a camera is also spawned with it. It behaves like a normal camera created with the non-wire camera STOOL and can be moved/welded as wanted.
Useful hints
- The camera moves to the designated position instantly (use a smoother if you want a smooth ride)
- The Camera does not function correctly outside the map boundaries. It's position moves but the vision is of the last thing it saw.