How to fix characters in Unreal Engine 5 move into or through objects, GASP.

Hi everyone,

I’m working on a project in Unreal Engine 5, and I’m encountering an issue where my character is moving into objects rather than properly colliding with them. I’m using the GASP system for my character movement.

I did not modify default GASP codes.

What could I be missing or doing wrong in terms of character movement and collision handling in GASP? Is there a specific setting or adjustment I need to make for better collision detection?

Any help or suggestions would be greatly appreciated. Thanks!

This has nothing to do with GASP, and you’re not doing anything wrong. This is just an expected outcome by default. To achieve your desired behavior, here are some approaches you can choose from:

  • You can increase the radius of your character’s capsule component. Though this will make it not be able to fit through spaces that it’s model is clearly small enough to.

  • You can implement control rigs, more specifically IK arms to make your character’s arms bend and touch a nearby wall to avoid overlapping. And you can implement a similar thing to the character’s torso to have the same precaution on the front.

    Here’s a tutorial on IK arms / hands: https://www.youtube.com/watch?v=xsvvA042l98

  • You can cast a short line trace from your character to a little bit further away and switch to an animation where the character stands straight up when it detects a hit.

Hope these help! :innocent:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.