I’ve rotated a bounding box (which represents a descent from a hill in my game). Now i want to spawn a tree in the random point inside that box. But if i use the “Random point in bounding box” function, tree spawns in the air above the hill, or below the hill (it’s acting like i didn’t rotate the box). I think it’s a pretty stupid basic question, by I didn’t find an answer anywhere.
Grab the random point you get and adjust the Z axis until it’s on the ground.
Alternately you can use Random Point in Navigable Radius. That’s always going to be on the ground