Thing is just like the Controller built-in scripts, once there was a survey about customization. But the only customization is to have to use scripts to patch where your particle has to be for the character.
What if Roblox starts to use attributes in their Scripts for the camera module so we can add a value to it like DisableOnFirstPerson so it can include some other models and stuff inserted in the character…? Since I have a model with BaseParts that insert into the character. Or this is not feasible?
This also reminded me of the Model.Visible property that we want to have in order tp hide characters and many Instances at once with just one toggle and without the need to worry about properties changing.
This is great news, currently one workaround is to modify the Roblox Core “PlayerModule” and manually write code to hide this. But then you are stuck at whatever version you copied unless you get the new version every release and then re-modify the code, which can be a chore.
Glad this will be part of the core code, no more hacks necessary.
Is “EffectsFolder” a default folder object that will be created on all Character Parts or just the Humanoid Root Part by default? This folder will function as the repository for all Effects that will still be visible in First Person view? Just to clarify.
We considered adding a Tag for marking instances that should not be hidden in the first person, but we were worried about its discoverability, so we thought that it would be best to stick with recommending the solution for how this is currently done for parts. We might revisit this in the future if we have a better way to expose constants like this from the PlayerScripts or if there is enough demand.
Sorry for the confusion, the EffectFolder is just a Folder I created in Workspace in my test place - This snippet is just part of the code to illustrate how to put effects in parts attached to the character rather than inside it.
I said this under the initial release note, but this change adds the LocalTransparencyModifier property to these instances in case anyone was wondering
So could I use this LocalTransparencyModifier to script a custom “hide in first person” for effects already parented to a welded part? One of the games I work on uses a custom variation to the default roblox scripts meaning we won’t get this update without re-coding the new default scripts, it would be easier for us to have a script that could disable specific effects, most of which are already parented to a welded part due to other in-game functions. Due to some effects being scripted using the Emit function it’s not as easy to disable the effects each time the player switches into and out of first person.
Adding the LocalTransparencyModifier property to all these classes has already been fully released and can be used in your own custom camera and control scripts. If you want to look at how this is implemented in the default scripts, you can find it in the TransparencyController ModuleScript.
Ok, excellent, I was about ask why we couldn’t just use our own custom location.
Basically, just make sure the particle effect is not parented to any part of the player character model if you need the particle to stay visible?