Third Person Cover Shooter  1.6
CoverShooter.GunRecoilSettings Struct Reference

Recoil settings for a gun. More...

Static Public Member Functions

static GunRecoilSettings Default ()
 Default recoil settings. More...
 

Public Attributes

float Vertical
 Degrees the aim is shifted up after firing the gun. More...
 
float Horizontal
 Degrees the aim is shifted to the right after firing the gun. More...
 
float RecoveryRate
 How easy it is for the motor to recover after recoil. More...
 
float ShakeIntensity
 Intensity of the camera shake following a gun fire. More...
 
float ShakeTime
 Duration of the camera shake following a gun fire. More...
 

Detailed Description

Recoil settings for a gun.

Member Function Documentation

◆ Default()

static GunRecoilSettings CoverShooter.GunRecoilSettings.Default ( )
static

Default recoil settings.

Member Data Documentation

◆ Horizontal

float CoverShooter.GunRecoilSettings.Horizontal

Degrees the aim is shifted to the right after firing the gun.

◆ RecoveryRate

float CoverShooter.GunRecoilSettings.RecoveryRate

How easy it is for the motor to recover after recoil.

Multiplies their recovery rate.

◆ ShakeIntensity

float CoverShooter.GunRecoilSettings.ShakeIntensity

Intensity of the camera shake following a gun fire.

◆ ShakeTime

float CoverShooter.GunRecoilSettings.ShakeTime

Duration of the camera shake following a gun fire.

◆ Vertical

float CoverShooter.GunRecoilSettings.Vertical

Degrees the aim is shifted up after firing the gun.


The documentation for this struct was generated from the following file: