đŸ”Ģ
Recoil Pattern
  • 🔍Overview
  • 🤠Quick Start
  • âšī¸Recoil Pattern Plugin Setup
  • đŸ—’ī¸Recoil Pattern Parameters
  • Changelog
Powered by GitBook
On this page

Quick Start

PreviousOverviewNextRecoil Pattern Plugin Setup

Last updated 2 years ago

In order to integrate the plugin into your project, you need to follow a few simple steps:

  1. Create and configure a RecoilPattern asset(open Content Browser context menu and select Gameplay->RecoilPattern)

  2. Add a RecoilPatternDataComponent to a weapon object (usually an actor)

  3. Add a RecoilPatternControllerComponent to player controller

  4. Add functions call StartShoting, Shot, EndShooting from RecoilPatternDataComponent component when your weapon are starting/ended shooting and on each shot

  5. Make sure that the final owner of the weapon is a PlayerController (usually, when creating a weapon, it is enough to specify a pawn as its owner. The Controller owns the pawn by default)

đŸ¤