nPwn
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 3197 |
|
|
| 11 Dec 2011 09:40 PM |
Wiki says: It is possible to lock the camera to a position, if you set it's position or CFrame values to math.huge it will prevent the camera from moving. This can cause issues, or it may not work at all. Use with caution.
How would you do that? |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 11 Dec 2011 09:49 PM |
| 9/10 times you will not get help with cameras on this forum. They are a pain to work with. |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 11 Dec 2011 10:44 PM |
Just use a loop to keep the CoordinateFrame in check:
while wait() do camera.CoordinateFrame = CFrame.new(x, y, z) end |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2011 10:47 PM |
while wait() do camera.CoordinateFrame = CFrame.new(0, 0, 0) camera.Focus = CFrame.new(math.huge, math.huge, math.huge) end
If I remember correctly that was how you did it... |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 11 Dec 2011 10:48 PM |
@Merlin Why would you need to set the focus to math.huge? Just set it to the point you want the camera to look at. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2011 10:51 PM |
I remember that being really irritating to do because the camera could still vibrate (which was really really annoying), but setting the focus to math.huge broke something or other and gave scripts more control. Love, A 2 year-old memory. |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 11 Dec 2011 10:56 PM |
| It only vibrates if the player is spazzing their mouse while holding the right button. |
|
|
| Report Abuse |
|
|