adds player collision system to example 3