Howdy brain trust!
I need to dynamically generate a curved spline (a flightpath for space ships) between 2 points in 3d space (that are dependent on how you’ve built stuff) for ships to follow (to dock with your space station).
There aren’t necessarily any obstacles in the way (but there may be) - I want the ships to follow an “organic” path.
I have used splines before (in fact said ships are leaving a spline that they have been following) but dynamically generating something that is curved and “natural” in terms of how a ship might fly through space to go from one point to another I have literally no idea how to tackle.
Any help massively appreciated!
             
            
              
              
              
            
            
           
          
            
            
              Hey @aerospike_andy how are you??
As I can understand, you want to create a pathfinding system for the ships to reach from A to B while avoiding any obstacles.
You will probably want to do it using an A* algorythm for pathfinding! I never implemented that but I found this post of someone who made something like that entirely with blueprints using this document as starting point!
If you dont understand how it works, I also found this tool in FAB developed for UE5 to do exactly what you want!
They don’t use only splines, but I think this is the best way to implement what you want!
Hope this helps you!!
             
            
              
              
              
            
            
           
          
            
            
              That’s AMAZING! thank you! will have a look at all of the links cheers!