0 votes

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?

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.