autoplace collisions in editor + fast sine function