- Edited
kuligs2 like you want something with 100 zeros you just write it like maybe 1e100 then do some conversion maths from string/obj to some number and or something
That's possible, but it would make the math calculations extremely slow. And you wouldn't be able to use Godot's built-in features like CharacterBody3D, collisions and the physics engine.
Godot's primitive float variables and floating point operations are already double precision. The problem is that when using built-in objects such as CharacterBody3D in a standard Godot build, the position, velocity and other properties get truncated to single precision. So you would have to avoid using those objects, and do your own physics calculations.
Maybe the ideal solution is a double precision physics engine plugin.
I wonder how Unity and Unreal handle this.