implementing bounce shot collisions
Implementing the contest-winning bounce shot requires solving complex angle calculation, hitbox limitations, and collision issues along curved trails.
- A proposed collision method uses circle detection with trigonometry and slope equations between neighboring trail points to simulate a flat wall reflection
- Reflections must occur instantly to prevent projectiles from penetrating multiple hitboxes or getting caught in rapid collisions in narrow gaps
- One suggested safeguard for rapid collisions in tight spaces is destroying the projectile if it cannot travel far enough between bounces
- Simple bounce algorithms risk unpredictable angles or visual oddities on curved trails, whereas complex calculations could introduce lag
- Trail hitboxes are simulated rather than continuous physical textures, complicating standard angle of incidence and reflection math


