Cam Shake
Cam shake packet is used to make the camera shake around. It is worth noting that multiple different types of shakes can be executed simultaneously, making the camera more and more volatile as a result.
The properties of this class are in the exact order as the client reads them, which is consistent across revisions!
Camera movements table:
| Id | Type | Observed Movement |
|----|:-------:|:----------------------:|
| 0 | X-axis | Left and right |
| 1 | Y-axis | Up and down |
| 2 | Z-axis | Forwards and backwards |
| 3 | Y-angle | Panning left and right |
| 4 | X-angle | Panning up and down |Constructors
Properties
the amount of randomness involved. The client will generate a random double from 0.0 to 1.0 and multiply it with the randomAmount as part of the shaking. This property is called 'shakeIntensity' in the event inspector.
the amount of randomness generated by the sine. Unlike randomAmount, this is multiplied against the sineFrequency. This property is called 'movementIntensity' in the event inspector.
the sine frequency. This property is called 'speed' in the event inspector.