I have a paper2D object that I need to get the widthx of. I figured out through implementation that scale, wasn't what I wanted.
I tried GetActorBounds, but my Actor does not have access to GetBoxExtent(), which is the last argument of GetActorBounds().
"AActor has no member GetBoxExtent."
How do I go about getting the X with and Z height of my object?
I tried GetActorBounds, but my Actor does not have access to GetBoxExtent(), which is the last argument of GetActorBounds().
Code:
AActor* const plat = Cast<ASolidBottomPlatformParent>(SolidPlats[i]); FVector PlatPosition = plat->GetActorLocation(); FVector PlatScale = plat->GetActorBounds(true, PlatPosition, plat->GetBoxExtent());
How do I go about getting the X with and Z height of my object?
Comment