# My projectile is not passing through walls

**URL:** <https://forums.unrealengine.com/t/my-projectile-is-not-passing-through-walls/339552>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, Blueprint, question\
**Created:** [November 24, 2015, 5:02pm UTC](https://forums.unrealengine.com/t/my-projectile-is-not-passing-through-walls/339552 "2015-11-24T17:02:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Owain\_Frost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Owain\_Frost](https://forums.unrealengine.com/u/Owain_Frost)\
**Post date:** [November 24, 2015, 5:02pm UTC](https://forums.unrealengine.com/t/my-projectile-is-not-passing-through-walls/339552/1 "2015-11-24T17:02:56Z")

</div>

My projectile is not passing through walls how do I do this in 4.9\*

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [November 24, 2015, 6:46pm UTC](https://forums.unrealengine.com/t/my-projectile-is-not-passing-through-walls/339552/2 "2015-11-24T18:46:11Z")

</div>

Hello thiefadventure,

What you will need to do is disable the collision on your projectile.

I believe this thread handles exactly what you are looking fore. It involves dynamically toggling a projectile on and off in a blueprint and detects whether it has hit a wall or not.

> **[How can I dynamically toggle collision on an object in blueprint?](https://forums.unrealengine.com/questions/73889/how-can-i-dynamically-toggle-collision-on-an-objec.html)**
>
> I’m trying to toggle the collision on an object in my class blueprint based on a projectile hitting the object. What I want to have happen is the box object starts with collision on, I shoot a projectile at the box which toggles off its collision,...

---

<div class="post-metadata">

**Author:** ![Owain\_Frost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Owain\_Frost](https://forums.unrealengine.com/u/Owain_Frost)\
**Post date:** [December 14, 2015, 5:05pm UTC](https://forums.unrealengine.com/t/my-projectile-is-not-passing-through-walls/339552/3 "2015-12-14T17:05:18Z")

</div>

\*\*I need it so it can go through certain walls \*\*

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [December 16, 2015, 2:30pm UTC](https://forums.unrealengine.com/t/my-projectile-is-not-passing-through-walls/339552/4 "2015-12-16T14:30:04Z")

</div>

Then what you will need to do is set up detectors for both your projectile and your walls. On the walls you want them to collide with you will need to tell the walls to block that projectile/block all. On the ones you want the projectile to go through you can disable collision.

-
