DefaultPawn mesh is hidden when possessed by player
Is the DefaultPawn's mesh supposed to become invisible when possessed by a player controller?
In my own troubleshooting, I created a blank blueprint project, set up a GameMode with the default pawn class set to a slightly modified DefaultPawn. The only modifications are a SpringArm and Camera combination that pulls the player's view away from the pawn's mesh. (300cm length, third person style to prevent camera clipping.)
I then dropped two pawns into the level and assigned one to auto-posses the player. They are positioned close to each other but not overlapping. When run, the pawn that is not possessed by the player behaves as expected, its sphere mesh visible to the player camera. But the mesh of the pawn possessed by the player is invisible to the player camera.
I have searched through all the visibility related settings I can find, such as Rendering > Visible and Hidden in Game. They are all as expected. Anywhere else I should be looking?
asked Jun 06 '18 at 08:09 PM in Blueprint Scripting
Answer credit is to BladeMaster. (See the question's comments.)
The DefaultPawn's MeshComponent is configured to be hidden when possessed by the player. So the behavior is as expected with the pawn's default settings. To change this behavior set "Owner No See" to false. It is located under the MeshComponent's Rendering section. If you browse manually, you'll need to expand the section to show all options. Or you can get to it quickly by searching for "owner". (See the example provided by BladeMaster.)
answered Jun 07 '18 at 03:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here