Category: Animations
Since engine version: 5.1 OC
true if the new AVP was set or false if there is no such animation with the given number or the refernced node is an animation node.var angle = Angle(0, 0, GetXDir(), GetYDir()); if(angle > 360) angle = 360 - angle; SetAnimationWeight(swim_comb, Anim_Const(500+Cos(angle, 500)));