ObjectFader on perspective change

chameleon

New member
Hey guys I need your help. I am despairing. I use 1st person perspective with 3rd person arms. When I change perspective to 3rd person the head should fade in / out.
I tested two setups:

1. In the first setup the object fader does not work but the head is disabled when I'm in first person view.

2. In the second setup the object fader works. But after the fading when I'm in first person view the head is visible

I'm absolutely confused. What am I doing wrong? I want the head to be hidden in 1st person but the fade to 3rd person still working.

I used the FPSMeshTool to unravel the original model.
 

Attachments

  • FPSMeshTool - mesh.jpg
    FPSMeshTool - mesh.jpg
    145.1 KB · Views: 1
  • Skinned Mesh Renderer Component.jpg
    Skinned Mesh Renderer Component.jpg
    492.4 KB · Views: 1
  • Setup 1 - fader not working head not visible in 1st person-min.png
    Setup 1 - fader not working head not visible in 1st person-min.png
    821.1 KB · Views: 1
  • Setup 2 - fader working, head visible in 1st person-min.png
    Setup 2 - fader working, head visible in 1st person-min.png
    801.4 KB · Views: 1
Unfortunately I haven't used FPSMeshTool enough to have enough knowledge on what the problem is. The best route to go would be to place a breakpoint within the Object Fader component to determine why it's not fading when you'd expect it to fade.
 
Top