So I am doing a VR project for my VR class (how surprising…).
Anyways, I am thinking about how I want to animate the light beam for a light saber. I was thinking that I could use a modfied cylindar for the light part (animate the emissive color to get a glowing sensation - I could also use a textured plane and just switch out images to make the glow effect as well). Is it necessary to use a ColorInterpolator or is it ok to change those color attributes in a Behavior?
So my main question is how should I animate the light beam from OFF position to ON position.
I was thinking I could do this
Solution 1.
Use a ModelClip object and apply that to the beam. Set the appropriate region on the model clip (at the top of the hilt of the LS). Then translate the beam in the direction of the hilt. That way the entire beam is clipped when in the off position but as soon at it gets out of the bounds of the ModelClip, then it will be visible
Solution 2.
I could deform the geometry essentially stretching it out to the proper link over a period of time. I haven’t done this and am unsure of how to do it. I guess you could use a ScaleInterpolator right?
What do you guys think? Should I do S1 or S2 or something else that I haven’t thought of?
Thanks