Download

Spline Mesh - Collision at Edges

Hello,

I’ve been trying to make player car stay in roads by putting barriers at the edges of the road. I am generating my road and these barriers by using spline mesh. However, at the edges of these generated barriers, my car hits this edge and bounces uncontrollably. I have marked the edge of two barriers generated by my spline mesh with red rectangles. Car hits this part and spins-flies away. There are turns and twists generated by spline mesh so I cannot just put a big long rectangular collision mesh at this part to solve the problem.

How can I solve this problem? I have tried using both simple and complex collision settings, tried using different physical materials, and I also tried to change car physics-collisions to solve this problem but it still happens :frowning: I’m open to both C++ and Blueprint solutions. Thanks in advance.