Spawning objects with y axis pointing towards player

Had to dust off a bit of trig for this one.

Instead of plugging the location vector directly into the spawn transform, break the spawn transform so you can see the rotation, location, and scale. Go ahead and connect the 2 spawn locations now and split the struct for the rotation.

Now, drag off another pin from the spawn location so you get the XYZ coordinates. Take the ATan degrees (inverse tangent) of Z/Y and plug that into the roll of the spawn rotation.

https://api.unrealengine.com/INT/BlueprintAPI/Math/Trig/index.html