Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

TrailRenderer should be able to simulate in local space.

Discussion in 'General Graphics' started by DoctorShinobi, May 5, 2018.

  1. DoctorShinobi

    DoctorShinobi

    Joined:
    Oct 5, 2012
    Posts:
    219
    Something that has been bothering me about the trail renderer since forever is that it always simulates in world space. If you want to add a slash to your character's sword, it's going to be affected when you move around. You'll have to excuse me if it's not the right place to post this, but I figured that since the TrailRenderer is being worked on in the current beta that it might be a good idea to request this feature here.

    Is it something that is planned to be added during the 2018.2 cycle?
     
    BartNT likes this.
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,239
    hippocoder likes this.
  3. DoctorShinobi

    DoctorShinobi

    Joined:
    Oct 5, 2012
    Posts:
    219
    Got it. Thanks!
     
    richardkettlewell likes this.
  4. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
    Is this still in the works? It would be great to have the option, just like the particle system, where in addition to local space, we can designate a custom transform as the simulation space for local space.
     
  5. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,239
    Hey, it’s not being actively worked on, but is on our internal roadmap, sorry!
     
    karl_jones and Korindian like this.
  6. snoche

    snoche

    Joined:
    Feb 22, 2010
    Posts:
    82
    Hi richardkettlewell

    Is there any news on this? I have some trails in a sphere and I want to rotate the sphere and preserve the trails that I have rendered, any idea how to achieve this?
     
  7. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,239
    Hi, sorry, not really.. Maybe you could do it with a Particle System?
     
  8. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,236
    I highly recommend writing your own trails or using a third party asset. Unity's trails have been long lacking in a number of features, most of which I would not really expect to see much future work on any time soon (if at all, though @richardkettlewell can answer that better) as most of their focus is going to be on the new VFX Graph and SRPs going forward.

    In the past I've used several in-house trail systems, but since leaving the company I worked on that code at I've been using Ara Trails and been pretty happy.
    https://assetstore.unity.com/packages/tools/particles-effects/ara-trails-102638
     
    xjjon and richardkettlewell like this.
  9. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,239
    Correct. The trail renderer won’t get any feature work - it’s old and slow (one trail per gameobject is not performant).

    VFX Graph has recently added trail support. And even particle systems can do trials, in both local and world space.