csharp
public sealed class RecoilDefinitionHow a weapon climbs, and how it comes back down.
Remarks
A pattern rather than a random kick, because a pattern is learnable. The thing that makes a shooter's recoil feel fair is that the tenth bullet goes where the tenth bullet always goes; randomness on top of it is SpreadDefinition's job, and keeping the two apart is what lets a designer tune "hard to control" separately from "unpredictable".
Fields and properties (3)
public List<RecoilStepDefinition> PatternThe pattern, one step per shot. The last step repeats once it runs out.
public float RecoveryHow fast the accumulated kick returns, in degrees per second.
public float RecoveryDelayHow long after the last shot before recovery starts, in seconds.
Used by (7)
- ContentVixen.Gameplay.Shooting.Tests
- TypeRegistrationVixen.Gameplay.Shooting
- Vixen_Gameplay_Shooting_RecoilDefinitionSerializerVixen.Gameplay.Shooting
- Vixen_Gameplay_Shooting_WeaponDefinitionSerializerVixen.Gameplay.Shooting
- WeaponDefinitionVixen.Gameplay.Shooting
- WeaponLibraryVixen.Gameplay.Shooting
- WeaponStateVixen.Gameplay.Shooting