Hello Everyone,

I have a Sphere, a DirectionalLight3D and hoverCamera3D

DirectionalLight3D initial direction is set as:
myDLight.direction =   new Vector3D(-1500,-600,-1000);

on arrow keys, I am moving hoverCamera3d Using panAngle & tiltAngle
properties.

Problem is light does not move with camera movement and
my requirement is to have light dropping from same direction no matter
of camera position.


Please suggest how should I can sync Light direction with camera
movement using panAngle and tiltAngle

Thanks

Reply via email to