Blueprint pawn prevent going trough static meshes

This is the blueprint for my pawn, how can I prevent it to go trough static meshes ? Thanks

91611-cattura.png

I believe you select the capsule collision component, go into the details panel, and there should be a category called “Collision” which will have a property called collision presets, which has a dropdown that you can just set to “Block All”

thank you, I already tryed this solution but it seems that it doesn’t work

As you can see, in play mode, i’m literally inside the table…

I see you are using a pawn instead of a character. How are you moving? If you are using add Location offsets or set locations be sure you have “Sweep” checked or it will not do a collision check.

If you are trying to create a sort of standard movement pawn then Character may have some helpful tools to handle this all for you.

EDIT: Also, i think Pawn may only take the Root Component into account when doing collision checks so I think you have to set your Capsule Collision as the root.

at any point have you modified the collision on the table?

This is how I solved following your answer. Since the root element of a blueprint seems to be unrotable, I rotate the camera and set the direction of the pawn (while moving) to the direction of the camera. Obviously the capsule component must have something like blockall in the collision preset dropdown. Thanks