State 33 (larastate) | |
---|---|
Name | Swim (stop) |
ID | 33 |
Since Engine | 1 |
Set the Camera override type to 2.
If Input is “Left”, and $Head^\measuredangle_y > −9100\,\mathrm{AU}$, decrease $Head^\measuredangle_y$ by $546\,\mathrm{AU}$.
If Input is “Right”, and $Head^\measuredangle_y < 9100\,\mathrm{AU}$, increase $Head^\measuredangle_y$ by $546\,\mathrm{AU}$.
Set $Torso^\measuredangle_y = Head^\measuredangle_y / 2$.
If Input is “Forward”, and $Head^\measuredangle_x > −7280\,\mathrm{AU}$, decrease $Head^\measuredangle_x$ by $546\,\mathrm{AU}$.
If Input is “Backward”, and $Head^\measuredangle_x < 7280\,\mathrm{AU}$, increase $Head^\measuredangle_x$ by $546\,\mathrm{AU}$.
Set $Torso^\measuredangle_x = 0\,\mathrm{AU}$.
If Camera override type is 2, set it to 0.