How to enable collision if there is any static mesh place on spline path of player. I have create the spline path then i have placed some static mesh on path but my player pass through the static mesh. It is not detect any collision. I have followed Unreal Engine 4 - Easy Character Spline Movement (Blueprints) + Gravity is unaffected :D - YouTube tutorial for spline path.
Assuming that you do have a collision mesh on your static mesh and that collision settings for object responses are correct, one pitfall might be if you are moving your static mesh along the spline with functions like SetActorTransform (having no Movement Component) you need to check the Sweep checkbox in order to get Hit Events fired.
Here’s a snippef from my code:
In my case, another problem was, that I used skeletal meshes, and it turned out, that these must be at root component level in addition.
1 Like