# Car game, Collision with the obstacles?

**URL:** https://forum.kirupa.com/t/car-game-collision-with-the-obstacles/311976
**Category:** programming
**Created:** [July 21, 2010, 3:28pm UTC](https://forum.kirupa.com/t/car-game-collision-with-the-obstacles/311976 "2010-07-21T15:28:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bskmama](https://avatars.discourse-cdn.com/v4/letter/b/a183cd/32.png) [@bskmama](https://forum.kirupa.com/u/bskmama)
#### Post date: [July 21, 2010, 3:28pm UTC](https://forum.kirupa.com/t/car-game-collision-with-the-obstacles/311976/1 "2010-07-21T15:28:53Z")

</div>

I’m creating a car game. i managed to get the car moving and all, but i dunno how to make the car collide with the obstacles when it hits it.

How do i make it such away that if the car overlaps the kind of obstacle i want, dont have to be simple shapes but mostly oddly shaped obstacles, it would stop. that’ll be good.

thank you!
