BreakHitResult include doesn't work

#BreakNitResilt does not work, cant understand why.
Cant compile even inside the engine.

#Error:

E0020 identifier “BreakHitResult” is undefined

291108-1.png

#Includes:

include “Components/PrimitiveComponent.h”
include “Kismet/GameplayStatics.h”
include “Kismet/BlueprintFunctionLibrary.h”
include “Math/UnrealMathVectorCommon.h”

291109-2.png

I dont understand what you gonna do. Can you describe where you need it.

If you want to get members of this struct, you shouldn’t break hit result in code like BP. Just use FHitResult VariableName as param to function you need and then you can access its members with dot operator

Oh, I didn’t know that it could be done this way thx :smiley: