Background for Skyrim SE
Member of the LibMathf script
floatfunctionMoveTowardsAngle(floatcurrent, floattarget, floatmaxDelta)NativeGlobal

Description

Documentation Comment

Same as MoveTowards but makes sure the values interpolate correctly when they wrap around 360 degrees


Caveats


Parameters

floatcurrent

floattarget

floatmaxDelta


Examples

Auto-Generated Example

float myFloat__current
float myFloat__target
float myFloat__maxDelta

float returnedValue = LibMathf.MoveTowardsAngle(myFloat__current, myFloat__target, myFloat__maxDelta)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.