# Moving Actor Won't Collide

**URL:** <https://forums.unrealengine.com/t/moving-actor-wont-collide/489321>\
**Category:** World Creation\
**Tags:** overlap-actors, collision-detection, move-actor, unreal-engine, Physics, collision-responses, Collision, question\
**Created:** [September 29, 2021, 1:26am UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321 "2021-09-29T01:26:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b3bc4d7a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Post date:** [September 29, 2021, 1:26am UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/1 "2021-09-29T01:26:49Z")

</div>

Hello, I’m making an endless runner game, and I have a car that will move forward and hit an enemy. But when it’s moving, it doesn’t collide with the enemy. But if the enemy is overlapping the car when it spawns, it collides normally. I’ve tried just moving the static mesh, and I’ve tried moving the whole actor (which is what I’m currently doing, and what I was doing). I’ve done this before and it worked. I can’t imagine why it stopped working all of a sudden. There are no collision changes while the car moves, and the enemy collision never changes either. everything works fine while the car is static, but once it starts moving, it stops colliding (but it will still hit and interact with physics bodies, and the collision type is set to query and physics enabled)

---

<div class="post-metadata">

**Author:** ![Ravi80335](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravi80335](https://forums.unrealengine.com/u/Ravi80335)\
**Post date:** [September 29, 2021, 7:41am UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/2 "2021-09-29T07:41:00Z")

</div>

Show me Blueprint, Whats the way you are doing to move Car?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b3bc4d7a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Post date:** [September 29, 2021, 4:03pm UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/3 "2021-09-29T16:03:55Z")

</div>

![349621-codescreenshot2.png]()

---

<div class="post-metadata">

**Author:** ![Ravi80335](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravi80335](https://forums.unrealengine.com/u/Ravi80335)\
**Post date:** [September 29, 2021, 4:30pm UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/4 "2021-09-29T16:30:03Z")

</div>

- Check Sweep in SetActorLocation.

- Without sweep, it will just jump to Location without checking collision.

- 
- If still collision doesn’t work, then change Mesh Collision preset to “Block All Dynamic”

- If still collision doesn’t work, then Add single Box Collision or more collisions according to shape of Car and set collision to Root, And Mesh is Child of collision and set Collision preset to “Block All Dynamic”

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b3bc4d7a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Post date:** [September 29, 2021, 10:48pm UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/5 "2021-09-29T22:48:25Z")

</div>

None of that worked. Some more things I’ve noticed and thought I should mention, is that the car will still collide with the pawn. And the enemy and car are child actors of the same parent actor, in case that means anything. Here is the collision for the pawn, car and enemy, respectively (I need certain collisions to be set a certain way for different parts of the game):

![349625-codescreenshot5.png]()

![349626-codescreenshot4.png]()

![349627-codescreenshot3.png]()

---

<div class="post-metadata">

**Author:** ![Ravi80335](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravi80335](https://forums.unrealengine.com/u/Ravi80335)\
**Post date:** [September 30, 2021, 7:28am UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/6 "2021-09-30T07:28:07Z")

</div>

- **bSweep**
- Whether we sweep to the destination location,
- triggering overlaps along the way and stopping short of the target if blocked by something.
- Only the root component is swept and checked for blocking collision,
- child components move without sweeping.
- If collision is off, this has no effect.

![349651-meshcollisionl.gif]()

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b3bc4d7a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Post date:** [September 30, 2021, 6:53pm UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/7 "2021-09-30T18:53:40Z")

</div>

It isn’t working. I’ve created a video in case it helps: [UE4Bug.mp4 - Google Drive](https://drive.google.com/file/d/1ysNGputxB43vxf-zM4rpOsaImJpUN9CQ/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![Ravi80335](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravi80335](https://forums.unrealengine.com/u/Ravi80335)\
**Post date:** [October 1, 2021, 1:40am UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/8 "2021-10-01T01:40:20Z")

</div>

- Only the root component is swept and checked for blocking collision
- 
- In your video, DefaultScene is Root, So the Collisions of Car Mesh doesn’t work with Sweep
- So, set Car Mesh as Root, or Box Collision as Root.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b3bc4d7a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b3bc4d7a](https://forums.unrealengine.com/u/anonymous_user_b3bc4d7a)\
**Post date:** [October 2, 2021, 1:22am UTC](https://forums.unrealengine.com/t/moving-actor-wont-collide/489321/9 "2021-10-02T01:22:50Z")

</div>

I did that and it still doesn’t work. Could the blueprint have been corrupted or something? Because this all worked before, and without changing anything, it’s suddenly not working anymore.
