DirectionalLight helper object

I want to create a directorlight helper object to mark the position and orientation of the current directorlight.

Help me. How can I achieve this?

Hi @WaterSeeding,

DirectionalLight isn’t like other lights in that, you can’t “position” it in space. It represents an infinitely large light from an infinite distance away. In other words, it literally represents a direction that light is coming from. So there isn’t a way to store a DirectionalLight’s position.

As for orientation, you’d have to decide what direction or frame of reference the orientation is based on, so there’s multiple answers. Maybe someone else from the community can offer ideas? :slight_smile:

1 Like

OK, thank you for your help :laughing: