setCamShakeParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2") |
||
Line 26: | Line 26: | ||
|p4= bankCoef: [[Number]] - Strength of camera tilt/bank, practical range: 0..20 | |p4= bankCoef: [[Number]] - Strength of camera tilt/bank, practical range: 0..20 | ||
|p5= interpolation: [[Boolean]] - | |p5= interpolation: [[Boolean]] - if [[true]], then transitions in the different shaking directions will be smoother | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Revision as of 15:33, 8 November 2023
Description
- Description:
- Sets camera shake parameters. Will not have any effect until shake is started via addCamShake.
- Groups:
- Camera Control
Syntax
- Syntax:
- setCamShakeParams [posCoef, vertCoef, horzCoef, bankCoef, interpolation]
- Parameters:
- posCoef: Number - Strength of positional movement (how far the whole position can change in X,Y&Z). Should not be bigger than 0.1 to prevent the camera from moving into or behind the player
- vertCoef: Number - Strength of vertical camera pan (up/down), practical range: 0..10
- horzCoef: Number - Strength of horizontal camera pan (left/right), practical range: 0..10
- bankCoef: Number - Strength of camera tilt/bank, practical range: 0..20
- interpolation: Boolean - if true, then transitions in the different shaking directions will be smoother
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
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