Blender, Geometry Node, Procedural, Game Art, Art Style.
can use Align Euler to Vector. The direction goes into the Vector, and the output Rotation goes in the spawn node. You can choose which of the local axis to align with the given input and if there exists a rotation you want to start with you can plug that in too. I am spawning rail gaurds around