Stated worknig on character collision code