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"

Why doesn't bAlwaysRelevant prevent character from losing network relevancy when behind BSP geometry?

Hi, I am working on a project based off of the C++ shooter game tutorial. I'm trying to add a character with a large skeletal mesh attached to it. With the large skeletal mesh, I'm observing that the character disappears and reappears on the screen very frequently whenever there's a piece of geometry in between the viewport and the character. After doing some research, I found the following wiki page: https://wiki.beyondunreal.com/Everything_you_ever_wanted_to_know_about_replication_(but_were_afraid_to_ask) and it appears this is happening due to item #8 under the checks for network relevancy (8. If there is BSP geometry between the client's view location and the actor's center (!), the actor is not relevant.).

This seems like a perfectly reasonable check, but in this particular case, the result looks very glitchy, so I've attempted to set the bAlwaysRelevant flag on my new character. I did this in both the blueprint and in the constructor in the C++ parent class. Setting the flag via either method doesn't appear to affect the network relevancy checks and I still see my character disappear when partially occluded by geometry. After this, I tried overriding the IsNetRelevantFor method for my character to always return true, but this doesn't seem to alter any of the checks either. Am I missing something here?

Product Version: UE 4.15
Tags:
more ▼

asked Oct 16 '17 at 09:18 PM in C++ Programming

avatar image

zimmy1987
1

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

0 answers: sort voted first
Be the first one to answer this question
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