|
| 15 May 2012 07:15 PM |
I dont know much about the Camera Object, because I don't usually use it, so I'm just going to ask for a script that would, and I will try to keep it in mind. Nobody tought me how to script, I learned from reading other peoples. Its the best way... |
|
|
| Report Abuse |
|
|
|
| 15 May 2012 07:18 PM |
Persay, you were facing the screen toward a wall. The script will make the Camera face Away from the wall. I need it for a special effect in my Game Bloody Mary... |
|
|
| Report Abuse |
|
|
|
| 17 May 2012 12:08 PM |
| Nobody ever knows anything about Camera... |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 17 May 2012 12:32 PM |
It's not only about the camera k?
It's about math..
IN GENERAL
So lets see if you can access CoordinateFrame and Focus you can make a direction of it with Focus.p-CoordinateFrame.p
Then just invert the vector so it would be -( Focus.p-CoordinateFrame.p) or more simple (CoordinateFrame.p - Focus.p) ..
Then just set the new focus to CoordinateFrame.p + Direction * magnitude |
|
|
| Report Abuse |
|
|
agent767
|
  |
| Joined: 03 Nov 2008 |
| Total Posts: 4181 |
|
|
| 17 May 2012 12:36 PM |
cam = Camera cam.CoordinateFrame = CFrame.new(cam.Focus.p - (cam.CoordinateFrame.p - cam.Focus.p)) |
|
|
| Report Abuse |
|
|