Floating Point

From Resonite Wiki
Revision as of 08:48, 30 July 2024 by AmasterAmaster (talk | contribs) (Created a page of the abstract concept of floating point.)
(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 percision than a float.

Using a float is often not recommended for anything requiring more accuracy or percision past it's 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 expirenced when a user is away from the world origin point (or center) of the world. When this far away, UI (the context menu and theDash) 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.

Videos

See Also