local cam = game.Workspace.CurrentCamera
local part = game.Workspace.SpawnCamera
cam.CameraType = 'Scriptable'
cam.CameraSubject = part
wait(0.5)
cam.CoordinateFrame = CFrame.new(part.Position) CFrame.Angles(180, 0, 0)
It is still constantly facing a 0 degree angle, how can I rotate it so that its facing a different angle? I want to change this because of the lighting. Thanks in advance!
Well it seems jumped the gun… I had replaced the code and saw that the camera angle did indeed change, but when I edit the values, nothing changes…
I am trying to achieve a 2D Platformer view where the camera is Stationary for everyone one. (I’m just attempting to make a Super Smash Bros style game, as replicating it is really technical and advanced so I’m just learning right now…) Currently the camera is facing 180 degrees opposite on the X-Axis than where I would like it to be looking. If I need to clarify anything just let me know.
Basically yes, right now I have it stationary viewing the map in its entirety because I couldn’t figure out how to get it to follow the player but have a boundary on the side. I already have it stationary, Its just facing the wrong way…
I’m atleast able to see movements in the camera, I just cant figure out the correct values, but I’m reading the Wiki page on it @ https://developer.roblox.com/articles/Euler-Angles Thanks for your help!
What you can do is move the camera part to the other side of the contraption, and then rotate that contraption so it faces the part. That will make the camera face that tower.
Yes I understand that, but I want to have the lighting stay the same for the scene, I would just have to flip the Time settings, but I believe learning this script will help me in the long run…