# /datum/recoil_controller

## Vars | |

client | The client that this recoil controller belongs to. |
---|---|

recoilcamera_active | whether or not this mob's recoil camera is active |

recoilcamera_angle | the current angle of the mob's recoil camera |

recoilcamera_damp | how much recoil delta should be multiplied by every 10th of a second |

recoilcamera_damp_distance | how much recoil delta should be decreased by, per pixel away from the centre |

recoilcamera_flat_reset_speed | how much recoil_delta is reduced by, every 10th of a second |

recoilcamera_last | time of the last recoil impulse |

recoilcamera_processing | whether or not this mob's recoil camera is active |

recoilcamera_recoil_delta | the rate of change of recoil magnitude |

recoilcamera_recoil_magnitude | the magnitude of recoil this mob's experiencing (ie. how far away is the camera) |

recoilcamera_sway_damp | how much sway delta should be multiplied by every 10th of a second |

recoilcamera_sway_delta | the rate of change of the mob's recoil angle |

recoilcamera_x | current camera x offset from recoil |

recoilcamera_y | current camera y offset from recoil |

## Var Details

### client

The client that this recoil controller belongs to.

### recoilcamera_active

whether or not this mob's recoil camera is active

### recoilcamera_angle

the current angle of the mob's recoil camera

### recoilcamera_damp

how much recoil delta should be multiplied by every 10th of a second

### recoilcamera_damp_distance

how much recoil delta should be decreased by, per pixel away from the centre

### recoilcamera_flat_reset_speed

how much recoil_delta is reduced by, every 10th of a second

### recoilcamera_last

time of the last recoil impulse

### recoilcamera_processing

whether or not this mob's recoil camera is active

### recoilcamera_recoil_delta

the rate of change of recoil magnitude

### recoilcamera_recoil_magnitude

the magnitude of recoil this mob's experiencing (ie. how far away is the camera)

### recoilcamera_sway_damp

how much sway delta should be multiplied by every 10th of a second

### recoilcamera_sway_delta

the rate of change of the mob's recoil angle

### recoilcamera_x

current camera x offset from recoil

### recoilcamera_y

current camera y offset from recoil