Recorded Animations#
-
var LoadRecordedAnimation(asset recordedAnimPath)#
Loads an anim_recording asset generated by bakery.
Can only load animations from rpaks.
-
float GetRecordedAnimationDuration(var recordedAnim)#
Returns the duration in seconds of the recorded anim.
-
vector GetRecordedAnimationStartForRefPoint(var recordedAnim, vector refOrg, vector refAng)#
Calculates the position of the first frame of the recorded animation if it were played so that its reference origin/angles line up with the given origin/angles.