I have tried that code - it does not work. Tried tweaking it and managed to get it to draw a fairly accurate (but never exact) box extents however it only works in one axis. As soon as the object is rotated off a major axis it loses its shape.
The code (copied exactly)
- Box is not correct (pink box = debug) purple box is (Bounds Explosions)
if I tweak and use Component bounds instead and rotated to match actor rot
- Box is correct (but off by 90 degrees - adjusted for) but as soon as the object rotates off axis - box shape is lost