M_Curve:GetOffset(ptID, frame, prePoint)

Version added: 12

Returns one of the handles' offsets through a given point on the curve

ArgumentTypeDescriptionDefaultVer
ptIDint3212
frameint3212
prePointbool12

Return type (real): Offset for given handle in radians from default 0 (0 is curve tangent in given point)

Returns handle offset stored in CHANNEL_CURVE animation channel. Smartbones' influences are not included.
String "GetOffset" is found in the following scripts:

SS - Multi Layer Transform Points (by simplsam)

MR Tween Machine (by eugenebabich)

MR Key Motion (by eugenebabich)

MR Curve Tool (by eugenebabich)

Curvature (by Lukas)

See all...