So i’ve looked at the other “Beam Weapon” threads and whatnot and i don’t think they’re very accurate to my situation, i am trying to do this in Unity: http://www.youtube.com/watch?v=LTB4_SDJkN4
Essentially i’m trying to Anchor Point A of the plane to the Emitter and slowly draw the plane to the direction of the target and finally either hit the target or anchor it.
Also this would have to be a JS Compatible solution.
I think sometime last month I answered a similar thread asking about laser weapons. I’ll give you the same answer. Simplest way, is use a LineRenderer. In your case with the effect you want to achieve:
Create a line renderer with 2 vertices
Set verts 0 and 1 to the position of your turret/cannon
Animate (Lerp or Tween, your choice) the position of vertex 0 to the target
Hold however long you want it to last
Animate the position of vertex 1 to the same position