Download

How to make SpotLight rotating in Blueprint class?

Hi,
Is it possible to make Spot Light rotating representing "collision light"on an aircraft?

Regards

Sure. Assuming your plane with the spotlight component is a blueprint, just branch off of Tick and Add Local Rotation to the spotlight every frame. Something like 1 degree in whichever axis you need.

I would go with a timeline and a lerp between 2 values with an alpha so that you get a smooth rotation instead of using on tick because that speed will be based on your FPS so on faster machines it will be spinning like crazy.

thanks a bunch ^^!