How to get from surface normal to world rotation?

Hi everyone,

I am getting a hit data, including hit normal. I would like to spawn a decal which will be rotated accordingly. How do I transform hit normal vec3 to proper world space rotation?

I also would like to know the answer. I want to spawn emitter at hit’s location and rotatation.

Not sure if this answers your question exactly but take a look at this page:
https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Events/index.html

They use “RotationFromXVector” which might get you what you need.

that link doesn’t seem right

would be more logic if it was from Z vector, tried but does not work