Maintenance - We're currently working on things and you might experience some issues. Should be wrapped up soon!

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
[Question] How cause a Line Renderer to stop emitting but not deleting line that is already drawn
Author Summary
caltheon is in Question
Post Body

So, title, but here is what I want to accomplish. I want to have a ship that when you are applying thrust, will leave a trail (currently using a Line Renderer) that stays behind the ship, but when you are not thrusting (but still coasting) I want the ship to stop drawing the trail but not deleting the trail segments that are already on the screen.

I know setting time to 0 will disable it (or delete it if you have autodestruct enabled as I found out after 20 minutes of frustration) but that will immediately remove all the existing trails from the scene. I'm beginning to think it's just not possible and I'd have to roll my own system to emit particles that decay over time on their own.

-Side note: This is a learning project I'm doing with my son so I don't really want to purchase any assets if I can avoid it, though if they are cheap enough and can be useful in many areas I might consider it.

Author
Account Strength
0%
Account Age
16 years
Verified Email
Yes
Verified Flair
No
Total Karma
213,848
Link Karma
4,052
Comment Karma
209,136
Profile updated: 6 months ago
Posts updated: 7 months ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago