Free camera ("Replay camera") - First/Third person with/without collision
This code is over 6 months old. The code may have expired and might no longer function.
A free camera, similar to the replay camera or the spectator camera. Also includes options for camera collision.
Workshop settings
- Camera Perspective - change between different camera placements. Currently avaiable are first person, third person, and a thirdperson camera placed somewhat above the point of collision. (try the "Show collision distance" option to see the point of collision)
- Camera speed.
- Camera step distance - decides the maximum distance for the camera to move between each update. Note that this also sets the collision distance, and the higher the camera speed is the higher the step distance needs to be to be able to detect collision.
- Camera collision On/Off.
- Show collision distance - useful when using the third person cameras to see where the point of collision is.
Keybindings
- Press [F] to toggle between movement of camera or character.
- Hold [F] to stop camera.
- Press [E] to move up.
- Press [Q] to move down.
- Hold [Shift] to move faster.
Created at:
Last updated:
Current version:
1.0.0
Snippet
Loading...