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

Brahmos and 1_salvo_4_sfrj_10_brahmos config #12

Merged
merged 6 commits into from
Oct 12, 2024
Merged

Brahmos and 1_salvo_4_sfrj_10_brahmos config #12

merged 6 commits into from
Oct 12, 2024

Conversation

daniellovell
Copy link
Member

This pull request includes significant changes to the DirectAttackBehavior class, enhancements to the interceptor's boost and mid-course update methods, and the addition of new configuration files and tests. The most important changes include refactoring the DirectAttackBehavior class, improving the interceptor's acceleration logic, adding new configuration files for missile behaviors, and introducing new tests for behavior validation.

Refactoring and Logic Improvements:

  • Assets/Scripts/Behavior/DirectAttackBehavior.cs: Refactored the DirectAttackBehavior class to improve readability and logic for waypoint selection. Waypoints are now sorted in descending order based on distance, and the logic for determining the next waypoint has been streamlined.

  • Assets/Scripts/Interceptor.cs: Enhanced the interceptor's boost and mid-course update methods by adding proportional navigation acceleration and improving the calculation of total acceleration. [1] [2]

Configuration Files:

Testing:

These changes collectively enhance the functionality and maintainability of the codebase, improve the interceptor's performance, and ensure the correctness of new behaviors through comprehensive testing.

@daniellovell
Copy link
Member Author

@tryuan99 Playmode tests failing here due to evade behavior. Wonder whats wrong. No time for me to look right now, maybe you can?

@daniellovell daniellovell merged commit 8f173d0 into master Oct 12, 2024
6 checks passed
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