# Bouncing at an angle

**URL:** https://forum.kirupa.com/t/bouncing-at-an-angle/25747
**Category:** flash
**Created:** [July 16, 2003, 4:26am UTC](https://forum.kirupa.com/t/bouncing-at-an-angle/25747 "2003-07-16T04:26:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dAEL](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dAEL](https://forum.kirupa.com/u/dAEL)
#### Post date: [July 16, 2003, 4:26am UTC](https://forum.kirupa.com/t/bouncing-at-an-angle/25747/1 "2003-07-16T04:26:35Z")

</div>

Ive been messing around with gravity and ive gotten the ball to fall and bounce off these blocks that i made. The blows are angled however, how do i get it to bounce in the direction of teh angled blocks?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 16, 2003, 4:45am UTC](https://forum.kirupa.com/t/bouncing-at-an-angle/25747/2 "2003-07-16T04:45:51Z")

</div>

Scale the MC down or up depending on where it is going.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 16, 2003, 4:49am UTC](https://forum.kirupa.com/t/bouncing-at-an-angle/25747/3 "2003-07-16T04:49:47Z")

</div>

scale the mc down :q:

bouncing off angles is much harder than bouncing an object off a wall… it’s kind of hard for me to explain all the trig involved in it… i’ll if there are any tutorials on that 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 16, 2003, 6:30am UTC](https://forum.kirupa.com/t/bouncing-at-an-angle/25747/4 "2003-07-16T06:30:09Z")

</div>

actually there are no specific angles when dealing with gravity, the natural motion of a ball moving in 2D with gravity falls in a parabola. The solution is to add another variable, let’s say horizontal\_speed, the speed of this is always fixed and no need to accelerate it. I hope i answered your question
