BIS fnc berpVector: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )T([a-z])" to "$1t$3") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|p1= a: [[Array]] format [[Vector3D]] - (Optional, default [0,0,0]) the current vector | |p1= a: [[Array]] format [[Vector3D]] - (Optional, default [0,0,0]) the current vector | ||
|p2= b: [[Array]] format [[Vector3D]] - (Optional, default [0,0,0]) | |p2= b: [[Array]] format [[Vector3D]] - (Optional, default [0,0,0]) the target vector | ||
|p3= delta: [[Number]] - (Optional, default 0) | |p3= delta: [[Number]] - (Optional, default 0) the delta time in range 0..1 | ||
|r1= [[Array]] - the interpolated vector | |r1= [[Array]] - the interpolated vector |
Latest revision as of 12:32, 8 November 2023
Description
- Description:
- Wrapper for BIS_fnc_berp applying to each respective element of current and target vectors.
- Execution:
- call
- Groups:
- Interpolation
Syntax
- Syntax:
- [a, b, delta] call BIS_fnc_berpVector
- Parameters:
- a: Array format Vector3D - (Optional, default [0,0,0]) the current vector
- b: Array format Vector3D - (Optional, default [0,0,0]) the target vector
- delta: Number - (Optional, default 0) the delta time in range 0..1
- Return Value:
- Array - the interpolated vector
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_berp
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note