bradl
07-17-2003, 08:20 PM
Any math/expression geniuses out there give me some help on this on please. I need a light to move up and down it's y axis depending on the camera angle (or any item's angle).
For example when the camera is at 0 Rotation.B I want the light at 0mm Position.Y. When the camera is at 90 I want the light at 650mm, at 180 0mm, at 270 -650mm and 360 0mm.
Sounds complicated but it is actually a sine wave for the Y as the Camera rotates 360 degrees. 90 and 270 are the highs and lows. I would like to use a modifier and have tried a few like channel follower and cycler, but it looks like only and expression will work here.
I appreciate any pointers here for the expression and how to apply it as I have not used them before.
Brad
For example when the camera is at 0 Rotation.B I want the light at 0mm Position.Y. When the camera is at 90 I want the light at 650mm, at 180 0mm, at 270 -650mm and 360 0mm.
Sounds complicated but it is actually a sine wave for the Y as the Camera rotates 360 degrees. 90 and 270 are the highs and lows. I would like to use a modifier and have tried a few like channel follower and cycler, but it looks like only and expression will work here.
I appreciate any pointers here for the expression and how to apply it as I have not used them before.
Brad