2D Aim Trajectory

Hey I’m trying to make a aim trajectory thing like this but it would fade very close to the ball being hit like the photo at the bottom

but i want it to be dotted like angry birds but i cant find any help on it for free. any ideas?

this is my game so far

You leave out a LOT useful info, so I’ll just guess a bit and leave it.

If you’re using a line renderer, then use a dotted texture.

If not, then use dots along the path.

If you need it to fade, you need to use something that gives you control of alpha as you near the goal.

Some combination of line renderer segments and / sprites should get you the result you want.

Beyond that, how to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

This is the bare minimum of information to report:

  • what you want
  • what you tried
  • what you expected to happen
  • what actually happened, especially any errors you see
  • links to documentation you used to cross-check your work (CRITICAL!!!)

how would i make it come from the ball and make it show where its gonna go though

This might help you: https://m.youtube.com/watch?v=p8e4Kpl9b28