847a37b196
Two common problems have emerged as a result of transform snapping: 1) Camera jitter with a camera following a snapped object 2) Pixel gaps between e.g. a platform and a player, where a platform rounds down and a player rounds up Using round seems to greatly reduce problems due to camera jitter. It also may prove better for pixel gaps because pixel art is often designed on a grid, so whole numbers are too expected, which are unstable with floor(). |
||
---|---|---|
.. | ||
2d | ||
3d | ||
animation | ||
audio | ||
debugger | ||
gui | ||
main | ||
resources | ||
register_scene_types.cpp | ||
register_scene_types.h | ||
scene_string_names.cpp | ||
scene_string_names.h | ||
SCsub |