|
| 14 Dec 2016 03:10 PM |
i dont know how to make the camera like for exp: the character is facing left but the camera facing foward so that would be awkward and make the controls weird. anyone know how to change rotation
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 14 Dec 2016 03:15 PM |
In what context? Do you want it to follow the direction the head is facing, or just affect the CFrame.Angles(x,y,z)?
while wait() do cam.CFrame = cam.CFrame*CFrame.Angles(0,math.rad(1),0) end -- you gotch'yer'self a spinnin' camera
|
|
|
| Report Abuse |
|
|
|
| 14 Dec 2016 03:21 PM |
like i want to edit the rotation of the camera
|
|
|
| Report Abuse |
|
|
|
| 14 Dec 2016 03:30 PM |
Get the camera using a localscript and
cam.CoordinateFrame = CFrame.Angles(your choice goes here) |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2016 03:31 PM |
| no, krit. that isn't right at all. |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2016 03:32 PM |
uh i get a error so that doesnt work
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 14 Dec 2016 03:36 PM |
You want the camera to face a certain point?
lookAt = Vector3.new(0,0,0) -- or workspace.SomePart.Position
while wait() do Camera.CFrame = CFrame.new(Camera.CFrame.p,lookAt) end
|
|
|
| Report Abuse |
|
|
|
| 14 Dec 2016 03:46 PM |
the camera view is different its like the camera in facing me inside the ground
|
|
|
| Report Abuse |
|
|