Problems with Collision, The way the player moves causing the issue?


I’m new to UE4 and this is my first post on the forums.

I am trying to get the sphere I am controlling to collide with the walls.

I’ve added box colliders to the walls and a sphere collider to the player controller.

What I think is causing the issue is the way my player moves. It moves by following the mouse cursor on the screen. I’ve attached a short (horrible quality) video of the clipping.

I’ve also attached my movement blueprint.

Any help would be hugely appreciated. If you need more information I’ll be happy to provide it.




Turn on Sweep on your SetActorLocation node, it will then check for collisions while it is moving.


Thank you for replying!

I have turned sweep on but now my ball doesn’t move at all.

well have you set the colliders to “block all dynamics”? while setting the sphere collider to ignore its parent actor?


As Slackarn says, you should check your collison channels etc. Make sure that both your walls and your sphere has proper collison enabled.