Made entities stop when t hey are closed enough
Fixed error with previous commit.
Merge branch 'dimension3D' of https://github.com/Tadimsky/vooga into dimension3D