Add collisions

From C++ project, but here it's working :)