Big bug that break godot

Godot Version

4.2.2 - mono

Question

When I’m too far away, the camera starts to bug and then everything freezes completely.

Hi.
How are you getting your camera “far away”? Do you have a script that zooms the camera out? could you share that script with us?

the player is in first person, the camera does not zoom out and behaves like a rigidbody3d. here i put the mouse script.

I have never encountered that error.
Have you looked it up on the forums or on google? Here are some similar posts. It looks like somewhere you might be multiplying by a very big Vector3 (or a 0,0,0 vector to rotate) and that might cause some issues. Maybe you need to identify that vector and clamp it somehow.

https://www.reddit.com/r/godot/comments/odapnu/trouble_with_3d_rotation_error_vector3_must_be/

Very very very very thanks!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.