Hello,
It is possible to move a “DirectionLight” and change its intensity by using an action ?
auto lampe = DirectionLight::create(Vec3(1.0f, 1.0f, -1.0f),Color3B::RED);
lampe->setIntensity(1.0f) ;
addChild (lampe);
I try with a “MoveTo” action but it not work.
Thanks,