Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JPK0012 |
I’m new to GoDot, I have come from AGK.
I am attempting to move agents to a target. They avoid each other fine. I do not use collision detection, though. I just check their position, and create a force to push them away from each other if the distance is close enough.
I can’t seem to figure out how to get a collision for my obstacles.
I want to shoot a ray from a starting position to the ending position with a radius of R. Then, I want to get back the coordinates if a hit is detected.
My first problem why I can’t do this with AABB collision is because I have combined all the obstacles into one object. I assumed I would be able to get the point of detection. Any help on solving this please?