Proximity Code Rewrite Test

I wanted to rewrite the function that controlled the rate of instantiation of the energy particles.

Goals

  • Variable rate of emission of particles
  • Rate controlled by distance between two points (utilizing object ConnectionStatus)
  • Minimun flow rate
  • Always fires of particle on initial contact (to give positive feedback to user)
  • Never “miss” a particle emission if faster than frame rate
  • Time code independent of frame rate, aka, can’t use Time.deltaTime, etc.