ProceduralShot_SO

ProceduralShot_OS defines the characteristics of a procedural shot effect for the Weapons.

This ProceduralShot_SO is a Scriptable Object, and must be placed in the visuals tab of your Weapon_SO ( if eligible to use ProceduralShot_SO, if not, you can disable the feature ).

You can create a unique one for each weapon by right-clicking in your Project folder, going to Create → COWSINS → New Procedural Shot.

  • playSpeed: Animation Play Speed

TRANSLATION

  • xTranslation: Translation on the X axis. The movement follows this Animation Curves from 0 to 1

  • yTranslation: Translation on the Y axis. The movement follows this Animation Curves from 0 to 1

  • zTranslation: Translation on the Z axis. The movement follows this Animation Curves from 0 to 1

  • translationDistance: Effect Amount

  • aimingTranslationMultiplier: Effect Multiplier when Aiming

ROTATION

  • xRotation: Rotation on the X axis. The movement follows this Animation Curves from 0 to 1

  • yRotation: Rotation on the Y axis. The movement follows this Animation Curves from 0 to 1

  • zRotation: Rotation on the Z axis. The movement follows this Animation Curves from 0 to 1

  • rotationDistance: Effect Amount

  • aimingRotationMultiplier: Effect Multiplier when Aiming


ProceduralShot_SOEditor can be found at the end of ProceduralShot_SO.cs

Last updated