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"

How to make Ribbon data disappear depending on its length not time?

Hello everyone,

I'm trying to make a tyre track particle. I achieved what I want using Ribbon Data; however, I want tyre tracks to disappear depending on its length not time. It looks weird when the players stops the car and tyre tracks disappear on the screen. How can I do this?

Product Version: UE 4.20
more ▼

asked Feb 03 '19 at 07:28 PM in Using UE4

avatar image

70 2 3 7

avatar image mrteuy Feb 04 '19 at 04:03 AM

Either the question isn't worded clearly or I'm completely not understanding. You can control the length and time, just make adjustments to size over life based on a time calculation? For example, if it takes (x) time to draw a (y) sized particle, just set the lifetime to (x).

If you are asking how to kill a particle once it hits a certain indeterminate length, a couple methods: you can spawn multiple ribbons along a path each portion with it's own time to live. You can even alpha fade out based on life rather than just disappearing.

Another way is to use color over life (in the particle) and use the color as a variable in a material to control the visibility of the material.

avatar image Core21. Feb 04 '19 at 08:35 AM

I couldn't find any settings related to length. Others are relevant to time. Imagine, a player drift his car, and there will be tyre tracks on the road. If the player don't move his car in a specific period of time, tyre tracks disappear. I can increase the life time but it is not the solution I'm looking for. Maybe, there is no settings related to length.

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

1 answer: sort voted first

You can just set the lifetime of the particle to forever and kill it via script in a blueprint (destroy component).

more ▼

answered Feb 05 '19 at 01:04 AM

avatar image

146 2 2 4

(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