x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Players invisible behind the transparent wall in ShooterGame

  1. In ShooterGame place a wall with the material Glass_M

  2. Enter the game in multiplayer mode by 3 players

  3. If you place players on different sides of the wall, then players become invisible

Further, if in AShooterCharacter::OnReplicationPausedChanged comment GetMesh () -> SetHiddenInGame (bIsReplicationPaused, true);

 void AShooterCharacter::OnReplicationPausedChanged (bool bIsReplicationPaused)
 {
 // GetMesh () -> SetHiddenInGame (bIsReplicationPaused, true);
 }

Then the players are visible behind the wall, but if Client1 looks like Client2 is behind the wall, and then Client2 stops behind the wall, then Client1 continues to see that Client2 is moving

How to fix these errors?

Product Version: UE 4.15
Tags:
more ▼

asked Apr 03 '17 at 04:28 AM in Rendering

avatar image

SergeyM
16 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I resovled problem. You must select Invisible Wall the Visibility collision in Ignore or Overlap

alt text

visible.png (6.0 kB)
more ▼

answered Jul 10 '17 at 03:48 AM

avatar image

SergeyM
16 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Can you rephrase your question??

Then the players are visible behind the wall, but if Client1 looks like Client2 is behind the wall, and then Client2 stops behind the wall, then Client1 continues to see that Client2 is moving

But I think your problem is because of SetHiddenInGame and passing it along the n/w.

more ▼

answered Apr 03 '17 at 10:52 AM

avatar image

Shivam.Dhoot
101 7 9 21

avatar image SergeyM Apr 04 '17 at 02:02 AM

I hope the video will be the best description. Client1 (window on the left) starts moving and stops. Client2 (window to the right) continues to see movement infinitely

Thank you very much for your help!

sample.gif (4.2 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question