![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
12-17-10, 03:38 PM
|
#11 | |
|
Black Magic
![]() |
Quote:
![]() Plus I think this is overcomplicated - we should be able to simply take distance to target / torp speed to find time to impact EDIT: ok, after thinking it over we do need to calculate like you posted Antar in order to take into account target's speed. I don't see how you are factoring in torp speed into this calculation? EDIT2: Seems to be a problem with this calculation. Time value is going positive and negative like a sin function... track angle and angle on bow are values of -180 to 180 (not 0 to 360). That might be why. EDIT3: math functions don't like it when you pass them angles instead of radians...so now time is steady but the time increases as the target gets closer..... Are we not doing anything with s_torp?? The division by 0 is still a problem also Last edited by TheDarkWraith; 12-17-10 at 04:18 PM. |
|
|
|
| Tags |
| dbrn, favorite, new ui |
|
|
