Smoothing a 3D path rough corners

Hello,

I need to smooth a 3D path with unknown amount of rough corners. There are enough materials for this online, but I need to apply the smoothing for example just 10 meters around each of the rough corners.
If I go full Bezier or Spline solution, then every path segment in it’s entirety will be influenced by other segments around it (right?)
I mean something like a rounded rectangle instead. But it’s not necessarily a rectangle, but a path in my case. In case of rounded rectangle you just specify something like a corner radius, which is exactly what I need. How could I implement this with a path please?

I will be grateful for any suggestions.

Just a off the cuff suggestion, but it depends on your implementation of your AI’s motor. You could use a RigidBody to follow the current point along the path. I’ve done that previous with relatively good results. A* Pathfinding allows you to set the curve along the path as part of the pathfinding parameters https://assetstore.unity.com/packages/tools/ai/a-pathfinding-project-pro-87744/reviews/?page=1&sort_by=recent. There’s also some homegrown solutions you can find online (e.g Can I smooth or curve the NavMesh path? ).