x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Is this the most effective way to make a decal follow my character

Hey guys! I am newer to UE4 and I have been playing around in blueprints. I wanted to make an effect where a circle follows a character around when they press a button. Currently I have it set to spawn a decal with a lifespan of 0.001 in a loop. When they move it moves along with it but I don't know if this could be resource intensive or if there is a better way to do it.

I would appreciate any help.

Blueprints: https://gyazo.com/eb065446937357fa8c48a96b7bf69235 Effect: https://gyazo.com/95b4a61d7e64e851dc6bae216cec47d0

Product Version: UE 4.20
Tags:
more ▼

asked Aug 03 '18 at 10:28 PM in Blueprint Scripting

avatar image

slimesick
11 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I dont kniw Decals but if they are moveable it seems like you could just add one as a component to the pawn class blueprint, and then it is part of the pawn and would have the same location at all times, as fhe pawn does.

Then you can just turn Hidden In Game on and off as needed and that's all the logic.

Does that work for decals?

more ▼

answered Aug 03 '18 at 10:39 PM

avatar image

mightyenigma
3.7k 18 23 20

avatar image slimesick Aug 03 '18 at 10:46 PM

Wow yea this works so much better, thank you.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

It would much simpler and more efficient to just add a decal component to the character and show/hide it with the flip-flop node. This way you do not even need a timeline. It will follow the character automagically :)

more ▼

answered Aug 03 '18 at 10:44 PM

avatar image

Everynone
15.2k 77 25 62

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question