Everything apart from collision checking works