Even though i`ve set up the collisons my character keeps going through walls (If i try hard enough and and move around the camera near a wall) and sometimes even floors!
I am using brushes.
If I migrate my character into a FirstPerson Preset, the problem is still present.
I have tried the following:
• Decreasing Near Clip Plane
• Positioning the camera inside the Capsule
• Increasing the size of the Capsule
• Decreasing the size of the camera
• Adding a Collision Sphere
• Setting the Nav Agent Radius to 150
• Copying the pre-set of the FPS that comes with the Engine
Here are a bunch of screenshot of my Character Blueprint. Ask more if needed!
if its just the camera doing this then based on what you have in your blueprint component section, my guess is your issue may be related to not having a spring arm. By having the camera locked in relation to your capsule component you can potentially move it passed walls and floors. The Spring arm acts like a variable distance arm that when it detects the camera attempting to clip, it will bring it forward. Heres the documentation page on it. Using Spring Arm Components | Unreal Engine Documentation
There are also a couple visualization modes you can try to narrow down your issue. You can go to show in the scene view and enable show>collision to visualize the collision geometry, you can also change the view mode from lit (the normal view) to player collision (hold ctrl+alt over the options to get more info) and it will show you the scene as it is via collide-able objects.
I changed all the components + root to block all, the collision views shows the bsp to be dark purple. The character still goes through.
Honestly I didnt think Unreal Engine was like this, this feels like such a basic thing and it doesnt work. It`s not like the character “just goes through”, it bugs out and clips and then it goes throug
I Solved this by removing the Camera component and disabling the Use Controller Rotation Pitch from the Character Actor. The character was going through walls because it was leaning forward and backward.
Have you changed the collision settings on the sphere? In the details panel there’s a collision drop down menu, you’ll need to change that to block all.
change you’re capsule radius in the characters blueprint. select the capsule this will allow you to set up both first person and third person views for characters without having to worry about weird clipping issues.