# Why does the player character jump when the sphere trace hits something?

**URL:** <https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500>\
**Category:** Blueprint\
**Tags:** Trace, line-trace, sphere-collision, unreal-engine, Collision, Blueprint\
**Created:** [April 1, 2024, 9:09pm UTC](https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500 "2024-04-01T21:09:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [April 1, 2024, 9:09pm UTC](https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500/1 "2024-04-01T21:09:50Z")

</div>

Why does the player character jump when the sphere trace hits something?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/f/a4fe178ada8585ea889a96d5eeeb4fbd22a63229.png)

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [April 2, 2024, 1:50am UTC](https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500/2 "2024-04-02T01:50:30Z")

</div>

That’s weird. I’m not seeing a jump. Looks like CMC’s floor trace is hitting the sphere traces and moving the capsule up. Then the player falls. This shouldn’t be possible. Trace on trace interaction.

Go up to a wall again, hit prone, then pause and detach. Like to see if the capsule is shifting up.

---

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [April 2, 2024, 7:40am UTC](https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500/3 "2024-04-02T07:40:37Z")

</div>

It feels like the capsule, when hitting something, just bounces back, directly hitting the player character’s legs.

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [April 2, 2024, 8:07am UTC](https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500/4 "2024-04-02T08:07:09Z")

</div>

Can you post a video of it?

Play, get close to a wall and prone. As soon as the traces fire pause it and detach. pan the camera back. Get good shots of the capsule base and traces.

---

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [April 2, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/why-does-the-player-character-jump-when-the-sphere-trace-hits-something/1782500/5 "2024-04-02T21:46:12Z")

</div>

Well, it was my bug. After the line trace, there was a node where the collision capsule was compressed for the prone position. That is, according to the condition, it should not have reached that point, but it did, and as a result, the line trace collision occurred because the player’s capsule radius was changing at that moment. I solved this bug. Anyway, thank you for responding.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/c/8cc4ec286585015587322a1c88b1c69cce060760.png)
