# How to make a projectile bounce OR collide depending impact angle?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255>\
**Category:** Asset Creation\
**Tags:** projectile-hit, bounce, unreal-engine, question\
**Created:** [November 12, 2015, 1:14pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255 "2015-11-12T13:14:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sn4tch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sn4tch](https://forums.unrealengine.com/u/Sn4tch)\
**Post date:** [November 12, 2015, 1:14pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255/1 "2015-11-12T13:14:09Z")

</div>

Hello there,

I’am quite new to Ue4 and still learning.  
I am making a Paintball FPS game.  
I thus would like my projectile (paintballs) to “hit” the bunkers (inflatable bunkers, like cylinders), or to bounce if the impact angle is too open.

After hours searching for some tips, I struggle to find a way to realise that.

Here is a video of another game I found on youtube that does the exact same thing (rockets explose or bounce and then explose).

  
Any help or guidance would be super appreciated.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9db972fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9db972fb](https://forums.unrealengine.com/u/anonymous_user_9db972fb)\
**Post date:** [November 12, 2015, 1:33pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255/2 "2015-11-12T13:33:37Z")

</div>

Hi Sn4tch,

have you enabled “should bounce”?

 ![66509-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/e/50e87989b2a924970ef6d73c57404e079c302bca.jpeg)

---

<div class="post-metadata">

**Author:** ![Sn4tch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sn4tch](https://forums.unrealengine.com/u/Sn4tch)\
**Post date:** [November 12, 2015, 4:38pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255/3 "2015-11-12T16:38:26Z")

</div>

Hi , Thanks for your answer.

Yes I have activated it.  
But as it is now, the projectile hit a mesh and bounce back on the floor, or, depending the angle, bounce further away.

What I need now :

- If projectile hit the bunker mesh with a close angle, projectile should “break” and leave paint mark, or if velocity is too low (far distance) bounce a bit and drop on the floor.
- If the projectile hit the bunker mesh with a open angle, projectile should bounce (like it actually does) and then break when it it’s another mesh/wall or floor depending velocity (if velocity is too low it shouldjus stay on the floor.

Not sure i’am 100% clear

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9db972fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9db972fb](https://forums.unrealengine.com/u/anonymous_user_9db972fb)\
**Post date:** [November 14, 2015, 4:36pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255/4 "2015-11-14T16:36:00Z")

</div>

Well, that sounds like a complex requirement.

Here is something I came across, maybe this works for your, scroll down to the solution marked as answer:

> **[How can I get the surface normal's rotation in collision?](https://forums.unrealengine.com/questions/26225/how-can-i-get-the-surface-normals-rotation-in-coll.html)**
>
> I dont know much about how a projectile is set but line trace gives you the hit surface normal information when you break hit result so you may want to look into that.

To get the speed of hit, you could try to use OnProjectileBounce:

 ![66745-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/5/145584f049c23885cc1b159d9ea7c4c94bf24c6b.png)

---

<div class="post-metadata">

**Author:** ![Sn4tch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sn4tch](https://forums.unrealengine.com/u/Sn4tch)\
**Post date:** [November 14, 2015, 4:47pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255/5 "2015-11-14T16:47:50Z")

</div>

Hello ,

Thanks for the link. I need to take time to get into it a bit deeper but it indeed looks like a begining of solution.  
Agai thanks a lot for taking the time to make some researchs for me.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9db972fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9db972fb](https://forums.unrealengine.com/u/anonymous_user_9db972fb)\
**Post date:** [November 14, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/how-to-make-a-projectile-bounce-or-collide-depending-impact-angle/338255/6 "2015-11-14T21:14:46Z")

</div>

Hi Sn4tch,

that’s what the community is here for 🙂

Post your solution when you have found one so that others can benefit too!

Regards,
