GranQ/Sandbox – User

From Bohemia Interactive Community
< User:GranQ
Revision as of 21:08, 28 October 2023 by GranQ (talk | contribs)
Jump to navigation Jump to search

Weapon Animation/Adding bipod functionality

Introduction

This guide is for adding bipod to a weapon which doesn't inherit it from another prefab.

It assumes you already have the weapon setup, animated in all other aspects and solely focus on the bipod.

There is three things we need to do:

  • Setup the deployment points in the prefab
  • Setup the hands position in the prefab
  • Adjust the animations


Prefab setup

Start with adding two new deployment points under SCR_WeaponAttachmentsStorageComponent. Click the + twice.

The first point will be our rotation point with the bipods folded and the second point will be used to define the points with the aimpoint down.

Here we can also adjust the placement of the hands.

Add new Deployment points under the SCR_WeaponAttachmentsStorageComponent

Next we start