unfinished curve collision detection
unfinished curve collision detection