Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reassign interceptors during termination #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tryuan99
Copy link
Collaborator

This PR unassigns the targets and re-assigns a threat's interceptors during agent termination.

@tryuan99
Copy link
Collaborator Author

tryuan99 commented Oct 16, 2024

@daniellovell All agents need to go through the TerminateAgent() function, but somehow, some interceptors aren't being reassigned correctly (even through their targets have been terminated). Do you know why this might be the case?

In this screenshot, some interceptors are assigned to fly towards the origin even though there is another threat in the scene.
Interceptor reassignment

Copy link
Member

@daniellovell daniellovell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the trouble is coming from wrong level of abstraction. Should be done in the IADS.cs, which has a IADS::MarkThreatDestroyed method. If its implemented in IADS, we can also make it configurable in a "limited visibility" environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants