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.
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.
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.