1. Home
  2. Vector Math
  3. Impact Normal
  4. Placing Object On Surface

Placing Object On Surface

Follow this Unreal Engine 4 tutorial, and then make this addition to the ForLoop Body which spawns the Object.

https://www.youtube.com/watch?v=4W8xEXMiClU

The Line Trace is 255 units of the Actor Up Vector Inverse added to the Actor’s location, resulting in a Trace starting from the Actor ending 255 units below the Actor. Hit result returns normal hit which I pull the rotation from and set it to the Actor.¬†Offsetting rotation may be necessary.

alt text

 

 

Click here for the original post.

Was this article helpful to you? Yes No

How can we help?