Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I Make Camera Offset Not Point at the Character But Instead in a Certain Rotation?

Hello there. I am using a custom camera script to create an offset for the camera. I would like the player to be in the left hand side of the screen but still facing completely to the right. I do not want the camera to automatically adjust the rotation so it is facing the character. Which setting should I set the camera to or what should I do? Thanks much!

~yoman1776

1 answer

✓ Accepted answer

You would need to set it to the Scriptable camera type

What this does is it allows you to change the rotation of the camera to your liking, through a script. Make sure that your script is a local script, as only local scripts can access the camera.

For information on how you can manipulate the camera, click here

Hope this helped!

4 comments

0

It definitely did help in terms of finding the article, but the problem is that the camera is rotated towards the character while I actually want the rotation to be none, only completely in the direction down the Z-axis. How do I program that to happen instead of instantly focusing on the character.

0

You may have to set the camera subject and focus to nil. However, Im pretty sure this is the defualt with a scriptable camera.

0

I just saw a wiki page saying that to make a controllable camera, one must make the CameraSubject equal to a part in Workspace. Should I do that?

0

You can try, note that now the camera would treat the part as if it were the player- if it was working properly

This discussion is preserved as it was. New answers, comments, and votes are closed.