Tykvesh Posted May 6, 2018 Share Posted May 6, 2018 AnimState:GetSymbolVariance(symbol_name) - valid only for the caller sim This function could return the variance of the symbol as a number. For example, each of these textures is a "variance": AnimState:GetPercent() It's already possible to get the percent of the current animation by calling this: percent = AnimState:GetCurrentAnimationTime() / AnimState:GetCurrentAnimationLength() but it's resulting in a bit.. inaccurate values, so it would be nice to be able to directly ask for the value. AnimState:GetScale() Currently it's impossible to inquire the scale from AnimState (Transform and AnimState scales are different things). Also, for some reason, AnimState scale doesn't affect the mouse detection hitbox. Link to comment https://forums.kleientertainment.com/forums/topic/90557-animstate-functions-getsymbolvariance-getpercent-and-getscale/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.