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.
asked Dec 28 '16 at 12:51 PM in C++ Programming
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
in the AFPSCharacter::BeginPlay() C++ function
answered Feb 18 '17 at 03:53 PM
also, you can override it in the blueprint construction script
answered Oct 29 '17 at 05:48 AM
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:
answered Mar 28 '19 at 09:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here