ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator third person camera
person icon
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

person icon
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

person icon
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:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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