Creating temporary objects for predicting collision

Hi,

I’d like to implement very basic pathfinding by checking if two actors are going to collide. They go along straight vectors from waypoint to waypoint without obstacles.

How exactly would I go about implementing this? My idea was to create temporary colliders or meshes which stretch from the actors present location to the next waypoint and check if those generated invisible structures collide, however I am having trouble figuring out how exactly to generate these. I’d also want to know the position of the collision so I can determine if they will collide based on each of their velocities.

Thanks in advance for any help.