rfvt45
|
  |
| Joined: 15 Oct 2011 |
| Total Posts: 275 |
|
|
| 13 Sep 2016 11:13 PM |
| How do I make my camera lock onto players? Like if they flip upside down there camera will be upside down aswell I'm trying to make a space game where they can flip around in space but if there camera is always facing up it looks stupid. |
|
|
| Report Abuse |
|
|
Repsej112
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 205 |
|
|
| 14 Sep 2016 02:57 AM |
I dont know if this will work but you can try. Make a raycast go from the players face straight forward. Then make a renderStepped function that will set the camera.Focus to the position of the nearest part that is touching the ray.
|
|
|
| Report Abuse |
|
|
|
| 14 Sep 2016 03:00 AM |
if i'm not mistaken there is an option in the CameraType property you can use that will do this for you
|
|
|
| Report Abuse |
|
|