Hi,
I am trying to get the vehicle dimensions of a City Sample Vehicle. With other vehicles, I normally get the Skeletal Mesh component and get the BoxExtent for the size:
VehicleMesh = Cast(Owner->GetRootComponent());
USkeletalMeshComponent* skeletalMeshComponent = Cast(VehicleMesh);
VehicleSize = skeletalMeshComponent->SkeletalMesh->GetImportedBounds().BoxExtent;
But it the City Sample Vehicles I notice that the SKM don’t show an actual mesh and the BoxExtent are basically zero. How can I obtain the size?
Thanks