nanos world API Reference Unofficial documentation
Function Shared

Rotator.IsNearlyZero

Checks whether rotator is near to zero within a specified tolerance

Syntax

Lua
my_rotator:IsNearlyZero(tolerance = 0.000001)

Parameters

Name Type Default Description
tolerance optional number 0.000001 Tolerance to check

Returns

  • boolean whether the rotator is nearly zero