Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
third person camera

cristian_emz
Registered User
Quote
2021-04-26 04:44:10

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


jastdamion
Registered User
Quote
2021-05-12 05:50:05

I also feel quite uncomfortable when the screen rotates 360 degrees continuously. Have you found a solution yet? can you share


veganpete
Registered User
Quote
2021-05-12 14:42:52

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).


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact