#Placed objects have floating point error Y values?

6 messages · Page 1 of 1 (latest)

abstract iris
#

Attached is my script.

When the objects are placed, the Y value is often out by 0.003 or 0.002, as shown in the screenshots. Any ideas on how to fix this?

#

Essentially the script uses raycasting to place objects down, onto a grid

#

the X and Z are always exact but the Y rarely ever is

distant pebble
#

try rounding

#

math.round(value)

abstract iris