Game Development Community

Stretching a model in torque script

by Logan Strunk · in Torque Game Engine · 01/01/2007 (7:38 pm) · 0 replies

I'd like to use 3d spinning bars for my health and stamina meters.

This means they need to range from 0 to 100. I really don't want to do 100 animations, and call each one incrementally to traverse 1 to 100 and back.

I'd like to just use an algorithm, and stretch a bar with a node at each end. Is this possible?

Thank You