đ¤ Quick Start
In order to integrate the plugin into your project, you need to follow a few simple steps:
Create and configure a RecoilPattern asset(open Content Browser context menu and select Gameplay->RecoilPattern)
Add a RecoilPatternDataComponent to a weapon object (usually an actor)
Add a RecoilPatternControllerComponent to player controller
Add functions call StartShoting, Shot, EndShooting from RecoilPatternDataComponent component when your weapon are starting/ended shooting and on each shot
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)
Last updated