Skip to content

Conversation

@Keridos
Copy link

@Keridos Keridos commented Jan 4, 2025

Previously projectiles could not hit anything if they hit it in the first tick after being spawned.
This was historically put in that they did not collide with the turret block that was shooting them.

I changed it instead to check if the hitBlock is a turret head. If it is (or non-solid) it will skip the impact and the projectile will continue flying.

Tested it, it improves turrets as they can now hit targets that are very close to them. No difference with far away targets.

@serenibyss serenibyss merged commit a8f1200 into GTNewHorizons:master Jan 4, 2025
1 check 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