- Home /
moving a light along a path
Hi,
I'm trying simulate a sun path around a building.
My plan was to set up a directional light and constrain it to a path, allowing me to then control its position on the path.
My question is how to I constrain a light (or any object) to a path?
Thanks
Paul
Answer by whydoidoit · Jun 22, 2012 at 03:23 PM
You can use iTween and do a PutOnPath call or perhaps a MoveUpdate - or you could use this which will let you vary the position on the path using a float between 0 and 1.
Your answer
Follow this Question
Related Questions
Rendering sun-shafts even when light is not in view. 0 Answers
Adding a sun source to HDRI sky 0 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How to decrease the faidng out of light intensity of a point light? 0 Answers
Sun shafts from the sun 1 Answer