I’m trying to spawn an actor called meteor in a random position in a bounding box, i followed a tutorial by Mathew Wadstein and I can’t figure out why its only spawning them in the center of the bounding box and not in a random place, I will appreciate any help. here’s a screenshot of my blueprint:
Is that box actually a box? I only say that, because when I have a component that is a collision box, I can say:
kinda, its an actor with a box collider.
thank you, I will see if that works
Thank you! it worked, all I had to do was change the get box extent to scaled and it solved my problem
Well, if they’re spawning in the center it probably means that the extent is too small or something is blocking them.
Edit: also keep in mind that get box extent will not take in consideration any scaling. Get scaled box extent is what you want to use instead.
Thank you! it worked, all I had to do was change the get box extent to scaled and it solved my problem