Structure collision fully implemented