group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
RecoilParams Struct Reference

Visual recoil params per weapon type (viewmodel-only, does not affect aim). More...

#include <ViewmodelConfig.hpp>

Public Attributes

float pitchKick = 3.0f
 Degrees of upward pitch kick per shot.
 
float pushBack = 2.0f
 Quake units of backward push per shot.
 
float rollKick = 1.0f
 Degrees of random roll kick per shot.
 
float recoverySpeed = 12.0f
 Spring decay rate (higher = snappier recovery).
 

Detailed Description

Visual recoil params per weapon type (viewmodel-only, does not affect aim).

Member Data Documentation

◆ pitchKick

float RecoilParams::pitchKick = 3.0f

Degrees of upward pitch kick per shot.

◆ pushBack

float RecoilParams::pushBack = 2.0f

Quake units of backward push per shot.

◆ recoverySpeed

float RecoilParams::recoverySpeed = 12.0f

Spring decay rate (higher = snappier recovery).

◆ rollKick

float RecoilParams::rollKick = 1.0f

Degrees of random roll kick per shot.


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