All pages
Powered by GitBook
1 of 1

WeaponEffects

New in FPS Engine 1.2

Merges the Weapon Effects in one place. It can be found attached to the Player.

WEAPON BOB

  • bobMethod: Defines the bobbing Pattern / Bobbing

  • gunsEffectsTransform: Guns Effects Transform

  • speed: Controls the overall speed of the bobbing effect. Higher values result in faster bobbing, while lower values produce slower bobbing.

  • distance: Defines the amplitude or magnitude of the bobbing effect.

  • aimingMultiplier: A multiplier applied to the bobbing effect when the player is aiming down sights. This typically reduces the bobbing to provide a steadier aim.

    • rotationMultiplier: Adjusts the amount of rotational bobbing applied to the gun. This affects how much the gun rotates during the bobbing motion.

    • translationSpeed: Specifies the speed at which the gun's position changes during the bobbing effect. It controls the rate of positional movement.

    • rotationSpeed: Specifies the speed at which the gun's rotation changes during the bobbing effect. It controls the rate of rotational movement.

    • movementLimit: Sets the maximum limit for the gun's movement during the bobbing effect. This constrains how far the gun can move from its original position.

    • bobLimit: Sets the maximum limit for the bobbing effect itself.

JUMP MOTION

  • jumpMotion: Animation Curve ( Start Jump Motion )

  • groundedMotion: Animation Curve ( Stop Jump Motion / Land )

  • distance: Amount of Jump Motion Effect

  • rotationAmount: Amount of Jump Motion Rotation

  • evaluationSpeed: How fast the Animation Curve is played

WEAPON SWAY SETTINGS

Weapon Sway can be modified in each Weapon Prefab ( Located at the root of the prefab )


WeaponEffectsEditor can be found at the end of WeaponEffects.cs