@xXxDisciple

Yes I know that c-Script and LiteC care of type casting, but I want to control exactly what happens.

For example: If the used variables (maxDist etc.) are declared as int than there will be to many rounding errors.
It might not be a problem in the case of this animation-cycle but it could be in other circumstances. So I always use casts to be sure what happens.

regards
Dinosaur