---
name: "BIS_fnc_slerp"
type: function
status: ok
groups: ["Interpolation"]
arma3_since: "1.78"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_slerp
revid: 349205
updated: 2023-11-08T14:50:44Z
---

# BIS_fnc_slerp

*Function · Interpolation · Arma 3 v1.78*

## Description

Spherical lerp, for correct lerping of normalized direction vectors

## Syntax

```sqf
[currentValue, targetValue, alpha] call BIS_fnc_slerp
```

**Parameters:**

- `currentValue`: [Array](../topics/Array.md) - the current value
- `targetValue`: [Array](../topics/Array.md) - the target value
- `alpha`: [Number](../topics/Number.md) - the alpha

**Returns:** [Array](../topics/Array.md) - interpolated value

## See also

[BIS_fnc_clerp](../functions/BIS_fnc_clerp.md) · [BIS_fnc_lerp](../functions/BIS_fnc_lerp.md) · [BIS_fnc_lerpVector](../functions/BIS_fnc_lerpVector.md) · [BIS_fnc_inverseLerp](../functions/BIS_fnc_inverseLerp.md)

<sub>Source: [BI Community Wiki — BIS fnc slerp](https://community.bistudio.com/wiki/BIS_fnc_slerp) (revision 349205).</sub>
