Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: ints on February 10, 2013, 04:12:12 PM
-
Is possible apply GUI Slider to change SpotLight intensity?
I have use LightIntensity Action, but do not work.
I wach this tutorial
Please help!
Thanks!
-
I just checked Set Light Intensity and it seems to be working okay.
Did you check "Every Frame?"
-
Thanks for answer, Alex Chouls!
Here's what I have done.
First picture: Cube are rotate but SpotLight do not change intensity. What I do wrong?
Second picture: variable for Light Slider.
-
Is Set Light Intensity using the Game Object with the Light component?
The screenshot is cut off...
EDIT: If the FSM is on the Light Game Object you can just set Game Object to Use Owner.
-
Thanks, Alex Chouls!
All works. Is possible Cube to drop shadows?
There are result:
32bit: http://failiem.lv/down.php?i=bpawpcx&n=Light%26Cube-32bit.zip (http://failiem.lv/down.php?i=bpawpcx&n=Light%26Cube-32bit.zip)
64bit: http://failiem.lv/down.php?i=smopquy&n=Light%26Cube-64bit.zip (http://failiem.lv/down.php?i=smopquy&n=Light%26Cube-64bit.zip)