Floating Point

From Resonite Wiki
Revision as of 16:22, 30 July 2024 by AdamSkI2003 (talk | contribs) (added link to see also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

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