Originally Posted by
crossram
Maybe someone can steer me in the right direction...
A gear indicator gauge I'm working on. Like the type with red/green lights, that flash on. This one uses three pairs of lights, red for up, green for down, and white once the gear is retracting. I've tried several times, to animate the white light, and each time, it moves way out of place.
The red is at 0-1, then back out. Trying to get the white on 1-49...then out, and the green on 49-50. The white isn't staying in place, 1-49, but moves farther out. What am I missing?
Thanks for any ideas!
I am not sure if you mean your white light is moving too great a distance or that it keeps moving when the green should come on? Nor do I know how you have set up your lights (modelparts, animations) But I would check the following:
- pivot point of the offending modelpart usually the culprit if parts don't move along the expected path),
- Hierarchy in the gmax model (if 'white' is a child of 'green', you should expect it to move when 'green' moves)
- the setting of animation key's type. I used to see some of my animations move a little after reaching the desired position. It was caused by having the position/rotation key set to the 'Bezier' type instead of 'Linear'.
I struggled with a similar animation; One of the 'old hands' here (could have been Steve or Tom - not calling you old, guys. You've just been around here for a very long time
) gave me the tip of a rotating cube to display 'gear up', 'gear in transit' and 'gear down' with three faces of the cube mapped to display the desired light. It rotates 90° at given keyframes to make the lights 'come on'. I used that suggestion as a basis for my own animation and it does work! Maybe it's something of use to you too.
It's like the keyframe setup you already use: keyframe0=CubeFaceOne, keyfame1=rotate 90° to show CubeFaceTwo, keyframe49=no animation, still showing CubeFaceTwo, keyframe50=rotate 90° to show CubeFaceThree. I think that should do the trick. If you want the red and green to stay on longer / come on earlier, move the keyframes, eg. to 2 and 49).