Rusty maths


I got stuck working on the AI for the miner ships. They're supposed to track down rocks and destroy them for credits.

I misunderstood what Godot's angle_to function does. In the end, I wrote a simple 'arena' to study the miner ship activity. I found angle_to wasn't rotating the ship correctly, so it wasn't chasing after rocks.

I went through atan2 before arriving at angle_to_point which is the correct answer - the same as atan2.

What did I learn?

  • To read the documentation better
  • To use a 'tech demo' scene to investigate
  • That most jams are too short if you're working full time!

Files

wakizoids-police-0.1-windows.zip 15 MB
Oct 18, 2018

Get WakiZoids: Police

Leave a comment

Log in with itch.io to leave a comment.