# Help w/ Collision -- slopes?

**URL:** <https://forum.kirupa.com/t/help-w-collision-slopes/194893>\
**Category:** Uncategorized\
**Created:** [July 27, 2006, 12:01am UTC](https://forum.kirupa.com/t/help-w-collision-slopes/194893 "2006-07-27T00:01:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thePhallex](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@thePhallex](https://forum.kirupa.com/u/thePhallex)\
**Post date:** [July 27, 2006, 12:01am UTC](https://forum.kirupa.com/t/help-w-collision-slopes/194893/1 "2006-07-27T00:01:52Z")

</div>

Hey guys. I’ve followed the Gravity tutorial here:

[http://www.bit-101.com/tutorials/gravity.html](http://www.bit-101.com/tutorials/gravity.html)

I was wondering if it’s possible to setup an object to not just bounce off the walls, but other MCs that I put on the stage??

I’ve included an example. I want the ball to be able to bounce off the ramp.  
You can “throw” the ball around the screen and it will bounce around.

How can I get it to bounce off the slope without using too much CPU? Would hitTest() be too processor-intensive?
