Hi I am trying to implement a precast skill indicator whenevery I tried to cast my ultimate skill . I tried using decal and it work but the problem is that I couldn’t limit the decals range when I tried to cast my skill . What I did was wherever my mouse is the decal is there( just a little bit of magic i guess) but the problem with that is I couldn’t limit the range of that decal. Could someone point out or give me more idea on how to do that?
You must know the world coordinates of the decal ( otherwise you couldn’t draw it ), and you have the world coordinates of the player. Just use the ‘distance’ node to find how far it is between them. If it’s greater than a certain amount, don’t draw the decal.