Floating Point

From Resonite Wiki

Floating Point is an abstract concept that represents the float type to hold a numeric value that has a decimal place in it.

Other types, such as the double type are considered floating points, just with more precision than a float.

Using a float is often not recommended for anything requiring more accuracy or precision past its own limitations. For currency, use the decimal type instead.

What it is

Floating point exists because computers can only hold so much detail in numbers.

To put it simply, if you were told to write out 1 billion normally without something like scientific notation in 6 digits, you cant.

Floating point is this same issue. Try to describe something too big, or too small, you run out of digits. The digits that describe the smallest part of the number are discarded. this causes smaller increments to disappear, and make things "snap".

This directly causes the effects seen in Floating Points In Resonite.

Floating Points In Resonite

  • Can be seen using the Scene Inspector, usually when looking at the transform and seeing the position, rotation, or scale is not exactly 1, and is showing 0.999998 instead.
  • Can be experienced when a user is away from the world origin point (or center) of the world. When this far away, UI (the context menu and the dash) and other things requiring position, will start to shake violently, with varying degrees of control to interactions.
    • Many users have made systems that can move the world around the user locally as they move instead of having the user walk around the world.

Trivia

  • Users often say something is "floating point" when they see strange, often large, numbers being what they are.
  • Users joke about saying "sending someone to floating point" after using a knockback item strong enough to send another user a large enough distance away from the origin of the world.
  • Some users have gave this phenomenon a name: Anomaly: 3.40282347E+38

Videos

See Also