• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Tekksin · Jun 22, 2014 at 11:32 PM · playerrenderlinetrail

Render Line Trailing Player

This topic is so elusive to me that I'm not even sure how to title this question. Anyways, as with the game "Sunset OverDrive" where there's some line/texture following the player, or with the new game Jumpiter Jump on the iOS market, I often see things trailing the player. I'm pretty much just wondering how this is done? Documentation? Links to tutorials? Strange approaches? Black magic?

If anybody can shed any light on the topic, feel free to do so in this thread. Like I said, the concept of what it is is so elusive that I don't even know how to properly ask what it is I want to learn, much less where to go to learn it.

Here's an image to help you get the idea of what I'm looking to look into:

alt text

https://www.youtube.com/watch?v=kdUfidcECLs

That video has similar information, but I wouldn't want to instantiate and destroy particles over and over to achieve this effect, due to performance issues.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Clet_ · Jun 22, 2014 at 11:37 PM

You might want to take a look into the LineRenderer class.

The manual

The Scripting API

It works with an array of Vector3, representing your line path.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tekksin · Jun 22, 2014 at 11:39 PM 0
Share

thank you! I will look into those while observing the link below from youtube. I'm glad I could at least articulate my curiosity lol

avatar image
0

Answer by Tekksin · Jun 22, 2014 at 11:38 PM

While writing up this question, I ACCIDENTALLY used the word "trail" and I started researching that and found this video: https://www.youtube.com/watch?v=Bqcu94VuVOI

So there we go! that's the basics of this stuff lol, sorry if this is all filler, but maybe someone is as curious as I am. I'll leave it up, but this can be closed or deleted depending on who cares.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Kiwasi · Jun 22, 2014 at 11:38 PM

I've used a particle system to achieve a similar effect. These are relatively optimised and take care of themselves. Run fine on a PC until you get several thousand particles with collision detection.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Trail Rendering 0 Answers

How to force a trail renderer to re-render in the same frame? 0 Answers

How can I leave a trail/tracks behind a character? Part 2 4 Answers

Removing and Adding gameobjects to an array upon collision 1 Answer

Trail of color behind the player 2D c# 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges