Converts a World-space 3D position to its RTC center.
Given a World-space position, this function calculates the nearest RTC center, ensuring that the position aligns with a grid defined by RTC_CELL_SIZE.
The World-space position to convert.
The resulting RTC center position.
Optional
The size of each coordinate cell within the RTC coordinate system (default is 200).
The RTC center position.
Converts a World-space 3D position to its RTC center.
Given a World-space position, this function calculates the nearest RTC center, ensuring that the position aligns with a grid defined by RTC_CELL_SIZE.