Spawning objects at runtime and make them adjust to the landscape slopes

Since they say a picture is worth a thousand words:

How can I fix this problem?
The objects clearly needs to be rotated but how do I get the parameters?

1 Like

You can trace from above the actor, to below the actor, and adopt the surface rotation

floor

2 Likes