Facepunch / sbox-issues

175 stars 12 forks source link

Add local space option for particle angles #6059

Open Fortune117 opened 1 month ago

Fortune117 commented 1 month ago

For?

S&Box

What can't you do?

I'm trying to create a particle effect that has a flat surface with a rocket trail:

https://github.com/user-attachments/assets/3d902b14-45d9-4f59-b749-826c5478bffe

As you can see in the video however, the flat particles don't follow the rotation of the game object.

How would you like it to work?

Having an option to make the particles rotation follow local space would be ideal.

Maybe slap it in here: image

What have you tried?

Manually calculating the appropriate angles and applying them in a component

Additional context

No response

Fortune117 commented 1 month ago

Here's the prefab if that helps: projectile_rocket.zip