Making a Free roam Camera with modifications

Hey there,
I wanted to make a Photo Mode type thing where it lets the player enter a sort of free roam camera mode, however unlike Roblox’s default one I’d like to the following:

  • Players cannot have their camera go through walls or parts unless they are transparent
  • Players also have a limit on how far they move away from their character before they are stopped

I’ve tried searching through the forums but despite such a simple concept I haven’t been able to find it, where would I start and would I be able to work off Roblox’s free cam or make one from scratch?

1 Like

You can use this and edit it a little bit so that it works the way you are asking for

You can set the camera’s cframe to its pos + direction player wants it to move. Also you can use raycast for the collisions and magnitude of camera’s pos - character’s pos to limit how far they can move from their character.