The actors spawn as expected on a flat collision box, but when I try to spawn actors on a rotated box, they don’t spawn within the box constraints on the z axis. The child actors merely spawn at the origin z.
Thank you in advance for any advice.
The actors spawn as expected on a flat collision box, but when I try to spawn actors on a rotated box, they don’t spawn within the box constraints on the z axis. The child actors merely spawn at the origin z.
Thank you in advance for any advice.
You need to rotate your rector by the boxes world rotation after you get the random in the bounding box.
This makes sense, thank you for your reply!