Facepunch / sbox-issues

162 stars 11 forks source link

Trail Renderer for new particle system #4191

Open Fortune117 opened 6 months ago

Fortune117 commented 6 months ago

For?

S&Box

What can't you do?

Trying to recreate a sword trail effect with the new particle system doesn't currently seem possible.

Example: https://cdn.discordapp.com/attachments/615548099863248908/1184768875343130706/2023-11-13_23-05-54.mp4?ex=658d2cff&is=657ab7ff&hm=c0b412be1b278e66eede0ff25739de5330c03ee2b0ce4a6d7735f6fd69e1c304&

How would you like it to work?

Presumably Unity has something similar, although I haven't used it before.

What have you tried?

I can use the legacy particle system but I'd like to try and use the newer implementation if the plan is to eventually phase it out.

Additional context

No response

garrynewman commented 6 months ago

Suggested steps, basically this should use the Sprite shader as a template:

yuberee commented 4 months ago

Any progress on this? The line renderers have been added

garrynewman commented 4 months ago

They have?

yuberee commented 4 months ago

Yea I saw a talented Facepunch developer worked on them on the hackweek blog!

Fortune117 commented 3 months ago

Now that we have the line renderer added, is this on the table anytime soon? I wanna add sword trails and I think I could hack something together with just the line renderer, but a proper trail system for particles would be nice.