Hi,
could you provide the code you've been using to rotate the car?
I just tried this with the following code and found the light to not rotate with the model.
setInterval(function(){ World.modelCar.rotate.z += 1; }, 33);
You can simply add this line to the 3dModelOnTarget sample to verify my results.
- Daniel
n n
I have a 3D scene with a directional light. When I rotate the model I want the directional light to not rotate with the model. Now it seems like the entire 3D model is rotating.
I want to have an effect such as e.g. a car rotating on a podium where the light always hit the same spot (and does not rotate with the car).
How can this be achieved?