# Why do actors bounce/launch eachother?

**URL:** <https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309>\
**Category:** World Creation\
**Tags:** controller, ai-controller, unreal-engine, Physics, pawn, question\
**Created:** [March 17, 2015, 2:41am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309 "2015-03-17T02:41:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9b155d6f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9b155d6f](https://forums.unrealengine.com/u/anonymous_user_9b155d6f)\
**Post date:** [March 17, 2015, 2:41am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/1 "2015-03-17T02:41:12Z")

</div>

I am having an issues where the AI i have created. Every now and then when they walk near each other and get ‘kicked’ or bounce away from another NPC, sometimes being launched halfway across the level or really high in the air. This also happens to my player character. I have tried playing around with the Agent Physics but i have had no luck.

Does anyone have any ideas on how to turn this off?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9b155d6f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9b155d6f](https://forums.unrealengine.com/u/anonymous_user_9b155d6f)\
**Post date:** [March 24, 2015, 12:02pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/2 "2015-03-24T12:02:25Z")

</div>

Bump - would really be nice to find out what causes this.

---

<div class="post-metadata">

**Author:** ![Rudse](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rudse](https://forums.unrealengine.com/u/Rudse)\
**Post date:** [June 25, 2015, 3:18am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/3 "2015-06-25T03:18:37Z")

</div>

Bump - We can disable the contact, but i really wanna know how to control it.

---

<div class="post-metadata">

**Author:** ![Alters](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alters](https://forums.unrealengine.com/u/Alters)\
**Post date:** [June 26, 2015, 1:21am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/4 "2015-06-26T01:21:17Z")

</div>

I was having a similar issue and after some debugging with watching the velocity I determined in my case it is happening due to the function UCharacterMovementComponent::JumpOff which is called when the base (ground) changes to an actor the pawn can’t SetBase on (which is the case for pawns basing other pawns.)

I decided to override APawn::CanBeBaseForCharacter and allow certain pawns to always be able to SetBase on each other but there is also CanCharacterStepUpOn which can be used to control this.

With this solved a new issue comes up though which appears to be the true root of the problem is that occasionally pawns colliding with other pawns end up on top of one another. I’ve not yet determined what causes this but it appears to happen somewhere in the movement component code. I may just override and restore their last known good position when this happens which while a hacky solution should solve this hopefully.

EDIT: After overriding my characters movement component and reworking the PhysWalking function to revert the move if a SetBase was called on a pawn with another pawn everything appears to be working great. It’s not the ideal solution but until I have more time to look into it - it seems to be working fine.

---

<div class="post-metadata">

**Author:** ![KillerPenguin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killerpenguin/32/1005607_2.png) [@KillerPenguin](https://forums.unrealengine.com/u/KillerPenguin)\
**Post date:** [February 18, 2016, 7:20am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/5 "2016-02-18T07:20:36Z")

</div>

Well, I’m having the same problem for awhile now.

Dear Epic, Is there a better fix for this?

---

<div class="post-metadata">

**Author:** ![SoraJr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sorajr/32/562282_2.png) [@SoraJr](https://forums.unrealengine.com/u/SoraJr)\
**Post date:** [April 6, 2016, 8:01pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/6 "2016-04-06T20:01:22Z")

</div>

Can you please post screenshots?

---

<div class="post-metadata">

**Author:** ![RagdollTV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RagdollTV](https://forums.unrealengine.com/u/RagdollTV)\
**Post date:** [July 11, 2016, 7:10pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/7 "2016-07-11T19:10:47Z")

</div>

In my case root motion of the skeletal mesh inside the capsule caused that issue. The feets of my character stick out of the capsule component while running (see attatched image). My guess is that root motion adds force while moving which causes the bumping. Thats what I did:

Go to edit-\>project settings-\>collision and add a new object channel (name it so you can identify the object type, in my case I named it ‘Zombie’). After that you go to your mesh settings inside the blueprint of the AI. Click on the mesh component. Now go to details (right side of the screen on default) and look for ‘Collision’. Make sure you set ‘Collision Preset’ to Custom. Change the object type to your newly created object type (in my case ‘Zombie’). Below the object you should find the new collision response (‘Zombie’). Click on the checkbox for ignore on that item ('Zombies). This makes sure that the skeletal mesh of the same type won’t collide and the bumping should go away.

Cheers,  
J.

 ![98090-rootmotion.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/6/5f6c338afb15544662af52abd70ea27f5768bb31.png)

---

<div class="post-metadata">

**Author:** ![Arty-McLabin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arty-mclabin/32/1012076_2.png) [@Arty-McLabin](https://forums.unrealengine.com/u/Arty-McLabin)\
**Post date:** [December 2, 2017, 4:36pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/8 "2017-12-02T16:36:47Z")

</div>

setting UCharacterMovementComponent’s “jump off zfactor” in blueprint to ‘0’ has solved my case

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adf007c3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adf007c3](https://forums.unrealengine.com/u/anonymous_user_adf007c3)\
**Post date:** [March 27, 2018, 10:33am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/9 "2018-03-27T10:33:19Z")

</div>

In my case I the collision of the skeletal mesh component is incorrectly set to pawn. The collision should be only a the capsule.

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [July 31, 2019, 12:56am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/11 "2019-07-31T00:56:19Z")

</div>

I set this on both my player character and the NPC and it didn’t solve the issue.

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [July 31, 2019, 1:05am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/12 "2019-07-31T01:05:31Z")

</div>

Also didn’t change anything. I can still bump my NPC within a matter of seconds

---

<div class="post-metadata">

**Author:** ![Arty-McLabin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arty-mclabin/32/1012076_2.png) [@Arty-McLabin](https://forums.unrealengine.com/u/Arty-McLabin)\
**Post date:** [July 31, 2019, 6:08am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/13 "2019-07-31T06:08:08Z")

</div>

so down-vote my answer, to demotivate me from helping anybody anymore on answerhub.  
like if you were the only one here that needs a solution

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [July 31, 2019, 6:28am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/14 "2019-07-31T06:28:55Z")

</div>

It’s not personal. It’s just not the solution which is why I down voted.

---

<div class="post-metadata">

**Author:** ![Arty-McLabin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arty-mclabin/32/1012076_2.png) [@Arty-McLabin](https://forums.unrealengine.com/u/Arty-McLabin)\
**Post date:** [July 31, 2019, 6:44am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/15 "2019-07-31T06:44:22Z")

</div>

do you realize that same symptoms/bugs may be caused by different problems, therefore having different solutions?

---

<div class="post-metadata">

**Author:** ![Valkyrie\_Sound](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Valkyrie\_Sound](https://forums.unrealengine.com/u/Valkyrie_Sound)\
**Post date:** [February 27, 2020, 11:49am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/16 "2020-02-27T11:49:36Z")

</div>

Up-voting. This reduced the rocket launches my NPCs were making. I identified that my issue is more to do with where I am spawning my NPCs - they’re basically inside one another.

---

<div class="post-metadata">

**Author:** ![Gowing\_Yotha](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gowing\_Yotha](https://forums.unrealengine.com/u/Gowing_Yotha)\
**Post date:** [November 25, 2020, 5:39pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/17 "2020-11-25T17:39:33Z")

</div>

Bro i don’t know how can i thanks. This is really helped me.

---

<div class="post-metadata">

**Author:** ![RagdollTV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RagdollTV](https://forums.unrealengine.com/u/RagdollTV)\
**Post date:** [November 26, 2020, 9:55pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/18 "2020-11-26T21:55:09Z")

</div>

I’m glad I could help. Thank’s for your comment.

---

<div class="post-metadata">

**Author:** ![Croux](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Croux](https://forums.unrealengine.com/u/Croux)\
**Post date:** [December 4, 2020, 8:23pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/19 "2020-12-04T20:23:59Z")

</div>

My solution was to turn off mesh collisions on both character and enemy actor. Also later on I’ve switched to custom collision so I can achieve some ragdolling.

---

<div class="post-metadata">

**Author:** ![Shaffie12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shaffie12](https://forums.unrealengine.com/u/Shaffie12)\
**Post date:** [July 18, 2023, 7:09am UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/20 "2023-07-18T07:09:03Z")

</div>

For me, removing the physics asset associated with the mesh fixed it. I realise this might not be posible for everyone though

---

<div class="post-metadata">

**Author:** ![yihiit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yihiit](https://forums.unrealengine.com/u/yihiit)\
**Post date:** [April 17, 2024, 5:34pm UTC](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309/21 "2024-04-17T17:34:57Z")

</div>

In my case, I changed the following settings for my character mesh and it solved the problem. Walkable Slope Override=true, Walkable Slope Behavior=Unwalkable. I don’t know if this causes any other problems. How I imagine this works is it prevents the character mesh from being a walkable slope.

[Next page](https://forums.unrealengine.com/t/why-do-actors-bounce-launch-eachother/311309.md?page=2)
