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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Flipbook decal not starting on frame 1

Basically I have a projectile which teleports you to wherever it hits, and then adds an animated decal. Well I want to have the animation just play once, but it seems to start on whatever frame it feels like. Am I right in assuming that flipbooks are typically supposed to be for looping animations or is there a function built in that I'm missing?

Product Version: Not Selected
more ▼

asked Feb 20 '15 at 06:11 AM in Using UE4

avatar image

3 1 3 3

avatar image Allar Feb 20 '15 at 06:40 AM

If this is for a decal, you are only using a material to do this effect, right? Can you post your material graph?

avatar image Yohoat Feb 20 '15 at 07:46 AM

Yup, here it is. alt text

materialgraph.jpg (656.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I was looking for a similar solution and i think i found out what you need to do. Instead of using Time in your material, use a parameter. Then where you spawn your decal, set a timer. Use the "get timer elapsed time" node and set your parameter to this on event tick. If you're using a dynamic material instance, this should cycle your texture from 0-1 based on when it spawns, not on the overall time. Hope this helps!

more ▼

answered Mar 15 '15 at 04:51 PM

avatar image

6 1 2

avatar image synthure Mar 15 '15 at 04:56 PM

Here's a few screenshots to better explain the my solution

avatar image Yohoat Mar 17 '15 at 03:56 AM

Oh man thanks a ton dude. Seems so obvious now lol, just glad that it's working correctly now!

avatar image ANTHONY27 May 28 '15 at 05:49 AM

Hello, your solution is very useful to me.But I don't understand the function which named 'DecalTimer'. Can you take a screenshot of it?Thank you very much!

avatar image Deiain May 14 '15 at 08:30 PM

I was having the same problem. This fixed it. Thanks!

(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