Game Development Community

Preventing squashed textures when animating

by Buzztime Entertainment Inc. · in Torque Game Engine · 08/22/2007 (2:44 pm) · 1 replies

I'm trying to create an animated timer bar in max. I have a quad object and I am trying to animate it so that its width goes from 100% down to 0%. The problem is that when I do this my texture squishes with the geometry. I've tried to use a skin modifier to animate the points with a UVW map modifier above it in the stack to prevent the texture from scaling as well, but it seem to ignore the UVW modifier. Anyone have any ideas on what I'm doing wrong or should be doing differently?

#1
08/24/2007 (5:45 am)
Instead you could keep the quad the same size, but animate the texture or use visibility animation.

Texture animation - use an IFL and set the time of the animation accordingly.

Visibility animation - Check out this resource http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6750

With regards,

Robert