Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello everyone, can someone help me with a script, how can I lock the (y-axis) of my target camera, I use the third person camera which is by default, every time I jump, it follows the character and it gives me the feeling dizzy and that is very annoying ... thank you very much |
||||
|
I also feel quite uncomfortable when the screen rotates 360 degrees continuously. Have you found a solution yet? can you share |
||||
|
cristian_emz wrote: Hello everyone, can someone help me with a script, how can I lock the (y-axis) of my target camera, I use the third person camera which is by default, every time I jump, it follows the character and it gives me the feeling dizzy and that is very annoying ... thank you very much There's probably a better way to do it but a quick-fix (without code) may be to turn on camera collision and then add a large plane (as big as the entire scene), just above the camera. Turn on collision for the plane - whenever the player jumps, the camera should collide with the plane and not be able to pass through. If it works properly, then add a blank texture to the plane and set it to transparent alpha (to make it invisible). You'd probably also have to adjust the player's collision ellipsoid to allow the player to still be able to jump through the plane while blocking the camera movement. *If the camera becomes jerky while walking, adjust the height of the plane slightly so it's only in contact with the camera while the player jumps (and not when just walking/running around). |
|