SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

Mythical effects misplaced on entering 3rd person #4353

Open ai-kana opened 4 months ago

ai-kana commented 4 months ago

As seen in the video upon entering first person from third person and then entering first person again the location in which you entered first will have a large clump of particals at least is the case with freezing haven't tested others. Very minor issue but annoys me <3.

https://github.com/SmartlyDressedGames/Unturned-3.x-Community/assets/109441902/25aa85ef-5e2e-4293-a566-b7155fad340c

SDGNelson commented 4 months ago

Fair, that is annoying. Currently there are separate copies of the character for first and third person, so when you switch back to third person the particles that were in the previous position are re-activated. We might be able to just kill all particles when deactivated - I'll check into it.

SDGNelson commented 3 months ago

I experimented with a few different ways around this, but the difficult factor is the wide variety of mythical effects with different particle system configurations. It almost seems like destroying/instantiating them rather than disabling/enabling would be the more sane approach. 😒

SDGNelson commented 2 weeks ago

Went ahead with instantiating/destroying effects rather than turning them on and off, so we'll see how this fares in the next update. 🤞