Author Topic: Rule_1, Rule_2, Rule_3 in EnemyMovement.cs in Space Game Starter Kit  (Read 3177 times)

rocky1138

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
These three methods obviously have something to do with angling the ship and setting the chase speed, but they have no comments and use magic numbers. Does anyone have JSDoc-like comments I can paste above the functions and in-line with the code?

Much appreciated!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Rule_1, Rule_2, Rule_3 in EnemyMovement.cs in Space Game Starter Kit
« Reply #1 on: June 16, 2014, 09:29:45 AM »
Enemy movement? SGSK doesn't have any enemy movement logic.

rocky1138

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Rule_1, Rule_2, Rule_3 in EnemyMovement.cs in Space Game Starter Kit
« Reply #2 on: June 24, 2014, 07:56:09 PM »
Yes, you're right. I'm sorry. I'm picking up a project that I haven't worked on in a couple years and mistook this file as being part of SGSK when it actually came off the Unity3d forums here: http://forum.unity3d.com/threads/spaceship-ai.87808/

Regards,