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"

GetMesh()->SetOwnerNoSee

I am following the "First Person Shooter Tutorial" and when I used this function GetMesh()->SetOwnerNoSee(true);

it didn't refresh the "SetOwnerNoSee" property for the Mesh. it act like if it did something like the showing the yellow arrow but the check box not checked.

Product Version: UE 4.14
Tags:
more ▼

asked Dec 28 '16 at 12:51 PM in C++ Programming

avatar image

GEmira
11 1 1 2

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

3 answers: sort voted first

I've got the same issue. The value of "SetOwnerNoSee" is not set to true by default in BP_FPScharacter . I think it's linked to the order the BP_FPScharacter has been initialized by the engine. A possible solution is to duplicate the line

 GetMesh()->SetOwnerNoSee(true);

in the AFPSCharacter::BeginPlay() C++ function

more ▼

answered Feb 18 '17 at 03:53 PM

avatar image

laurentO
31 1 5

avatar image KillerBear11 Jan 05 '18 at 09:42 PM

Worked for me, thanks!

avatar image DeckerWilliams Feb 25 '19 at 01:24 PM

Can you still see the shadows for the original body mesh at this point? Because those disappear for me when I successfully hide the body mesh from the first person view...

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

also, you can override it in the blueprint construction script alt text

screenshot-163.png (454.4 kB)
more ▼

answered Oct 29 '17 at 05:48 AM

avatar image

Gustavo Otero
11 1

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

Both the answers provided are not very good so I thought I would explain what is actually happening for anyone else that comes across this question.

Firstly blueprints have their own state and you could think of them as a kind of subclass of your c++ class. When you change your c++ class some properties will not change in the blueprint.

To solve the issue simply search for the property and press the yellow arrow to revert it back to default.

So for this problem:

  1. Open the blueprint

  2. Select the mesh component

  3. In the details pane: type owner into the search filter.

  4. You will see some properties under Rendering, click the yellow arrows to revert them

Image of the details pane

more ▼

answered Mar 28 '19 at 09:31 PM

avatar image

TRBOB
11

avatar image Nati.Elgavi Apr 25 '19 at 10:59 PM

Great answer. Thanks for the explanation. It still feels like a bug. When we extended the FPSCharacter class to BP, we didn't explicitly set the Owner No See property, so why didn't it implicitly used the inherited value?

(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