Announcement

Collapse
No announcement yet.

Break Hit Result has no faceindex

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Break Hit Result has no faceindex

    Hi,

    it is accidental or WAD that the blueprint method Break Hit Results has no face index property?
    it does exist in the FHitResult structure from C++ part, but the breaker method hasnt...

    Code:
    UFUNCTION(BlueprintPure, Category = "Collision", meta=(NativeBreakFunc))
    static void BreakHitResult(const struct FHitResult& Hit, FVector& Location, FVector& Normal, FVector& ImpactPoint, FVector& ImpactNormal, class UPhysicalMaterial*& PhysMat, class AActor*& HitActor, class UPrimitiveComponent*& HitComponent, FName& HitBoneName);

    thanks
    Gabor

    #2
    though it isnt such a huge problem, as seems Im able to create a custom getfaceindex method using UBlueprintFunctionLibrary

    Comment


      #3
      Originally posted by BigaC View Post
      though it isnt such a huge problem, as seems Im able to create a custom getfaceindex method using UBlueprintFunctionLibrary
      I created a blueprint function to it
      but it is -1 for every hit...
      I tried both with Single Line Trace with Channel and Single Line Trace for Objects, same result.

      Comment

      Working...
      X