alternative collision detection

Signed-off-by: Nepetalactone <tobias.meusburger@gmx.net>