BIS_fnc_lerp

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Linear floating point interpolation. Linear Interpolation (Wikipedia)

Syntax

Syntax:
[valueA,valueB,speed,delta] call BIS_fnc_lerp
Parameters:
valueA: Number - First point (start)
valueB: Number - Second point (end)
speed: Number - Interpolation speed
delta: Number - Delta time
Return Value:
Number - Interpolated value

Examples

Example 1:
[3,5,0.5,0.2] call BIS_fnc_lerp;

Additional Information

Execution:
call
Multiplayer:
-
See also:
Category:Command Group: Math

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section