|
Arma Reforger Script API
|
Enables vehicle camera automatic default-direction alignment. More...
Public Member Functions | |
| bool | Update (vector aimChange, vector currentAngles, vector localVelocity, bool isFocus, float timeSlice, out vector newAngles) |
| Update the auto alignment object. | |
Enables vehicle camera automatic default-direction alignment.
Provides multiple parameters of desired values.
Can be added or removed to/from SCR_VehicleCameraDataComponent at will, to enable or disable this camera behaviour.
| bool SCR_VehicleCameraAlignment.Update | ( | vector | aimChange, |
| vector | currentAngles, | ||
| vector | localVelocity, | ||
| bool | isFocus, | ||
| float | timeSlice, | ||
| out vector | newAngles ) |
Update the auto alignment object.
Returns new rotation in local space as yaw, pitch, roll in degrees.
| aimChange | The input change (if any). |
| currentAngles | Current camera local yaw, pitch, roll in degrees. |
| timeSlice | The time step since last frame |