View Single Post
Old 07-02-2019, 03:21 AM   #2
Boris-Barboris
Swabbie
 
Join Date: Dec 2010
Location: Moscow
Posts: 10
Downloads: 0
Uploads: 0
Default

Got some progress on the torpedo, namely:
  • got the guidance computer configurable: marchCourse, marchSpeed, activeSpeed, searchPattern, activationRange and activeCourse are being accepted and used.
  • Straight, snake and spiral search patterns working, albeit not configurable. That'll do for now.
  • fuel depletion logic is working, slower torp swims longer and generally covers more distance during it's lifespan.
  • active sonar seeker works and actually homes onto the moving target.
  • reused old quadtree code to handle simplistic detonation and kill checks.
Here is an example kinematic trace from the snake search test - flank speed torpedo intercepts player submarine going flank. On the right you can see active sonar image that is used to generate approach solution.



Boris-Barboris is offline   Reply With Quote