Hi there. Am wondering how to sync mesh rotation with light direction. Lights don’t seem to have same rotation properties of meshes? Have a playground here:
On line 79, I’m trying to match the rotation of a mesh - with the rotation of a light. I’ve got position working just fine - but rotation has been giving me grief for the better part of a couple days. Any tips would be much appreciated! thx. I’m trying to wrap a SpotLight light with a mesh that looks like a spotlight.