Lots of work on look-at widgets

This commit is contained in:
2025-04-07 16:48:27 -04:00
parent e81134473e
commit d35125eb70
24 changed files with 554 additions and 379 deletions

View File

@@ -77,6 +77,9 @@ public:
// Be aware that (0.0, 0.0) is the upper-left corner of the upper-left pixel,
// whereas (0.5, 0.5) is the center of the upper-left pixel.
//
// The resulting TraceStart and TraceEnd fields of the HitResult will not
// contain world positions, instead, they will contain the PixelXY.
//
UFUNCTION(BlueprintCallable, Category="Collision", meta=(AutoCreateRefTerm="ActorsToIgnore", Keywords="raycast"))
static bool LineTraceThroughPixel(const APlayerController* PlayerController,
FVector2D PixelXY, double MaxDistanceFromCamera,