LazyWizard / lazylib

A library of useful classes for modding the game Starsector.
https://fractalsoftworks.com/forum/index.php?topic=5444.0
20 stars 4 forks source link

CollisionUtils.getCollisionPoint(): Method returns null if the entire tested line is within bounds without touching any #8

Closed LazyWizard closed 15 hours ago

LazyWizard commented 16 hours ago

This could cause an issue when writing AI for fighter weapons. Fighters have short ranges and pass through ships, so their projected firing line might not touch an outer bounds when passing large ships.

LazyWizard commented 15 hours ago

Fixed in 93a6dbd9155997000db2a9e5bd6f32390833d5e7.