I have an imported mesh, simple sphere.
Added Sphere Simplified Collision in the editor, selected Block All.
Placed it in the world, made sure was configured to Block All.
~Show Collision displays the wire frame indicating collision is there.
Nothing, walk right through it. Also, hit events don’t pick it up.
This stuff drives me nuts. How hard is it to set up simple collision of an object?
I am posting since I was looking for a solution and found it while googling. Also, I am replying to Bukhari009pppk, so they see it.
I was following this tutorial to create a player and a camera that follows the player. This one to be exact:
The problem with the code was that the root component with the static mesh went through the block volumes. At first, I thought it was the static mesh itself but thanks to Feiwu, I found that I was wrong.
Instead of USceneComponent, I used UPrimitiveComponent and voila! Everything started working perfectly!
I guess I’ve written a bit too much, but it took me way too much time to find the actual answer. Everyone goes through the stage of learning and I hope this post helps more people.