How to Transforms a actor's bound from the view's world-space into pixel coordinates with bounding box
How to transforms a actor's bound from the view's world-space into pixel coordinates with bounding box like
X,Y relative to the view's X,Y (left, top) and
width,height relative to view's Z and rotation
asked Aug 13 '14 at 08:18 AM in Using UE4
Here's a modified excerpt from AHUD::GetActorsInSelectionRectangle, which is doing bounding box comparisons for actors inside rectangle in screen space.
It's projecting the corners of the actors bounding box into screen space, and using the FBox2D to accumulate the extents of that box in screen space.
answered Sep 12 '14 at 06:27 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here