Making An Collision avoidance navigation with only raycasting?


So uh, i wanna make it so it navigates thru parts using raycasting, and it makes like lines of parts combined. And the line directs to the target part far away, but uh i am trying to like navigate you know? using raycasting only, All this pathfinding and A*Star, isn’t efficent for a world wide map police chase, it takes too much performance and looks very ‘‘un-perfect’’ steering on the road.

Just a note that: The straight line ISN’T really a line, its a combination of 30 parts that can be used for path

Idk what this post is about. Are you asking or telling us about this

1 Like

Navigation thru certain parts, it makes like pathfinding but no pathfinding is there, Saving performance and memory.

1 Like

U would need 8 rays
4 each corner
4 each front of the side

And uhm… how will you convert the result to steering??
Also, i want it to STEER AT A TARGET at the same time avoiding collision.

I wanna promote problem solving skills so that means i don’t do it for you but as a hint i would prob start with attachments at the position mentioned. Shoot a ray at the front rays and if for example front corner right hits something but not middle or right then steer right.

This is just an idea of how you could start not a solution