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

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.