Gun Sight Aligner

PeaceSells - 7월 2, 2019

Character-gun-animBP setups that automatically align gun sights when aiming. For 1P, 3P or True 1P view

  • 지원 플랫폼
  • 지원 엔진 버전
    4.24 - 4.26
  • 다운로드 유형
    전체 프로젝트
    이 제품은 언리얼 엔진 프로젝트 전체 폴더와 함께 환경 설정 파일, 콘텐츠 파일 및 .uproject 파일을 포함하고 있으며 새로운 프로젝트를 생성할 때 템플릿으로 사용할 수 있습니다.

Demo video

Playable demo

Support thread/Change Logs

-Two separate setups - one for Arms-Only 1st Person and one for Full-Body True 1st Person/3rd Person. Each setup is comprised of a separate Character-Gun-AnimBP set

-Automatic animation that aligns the gun sights to the character view when pressing aim down sights

-Full-body character with no invisible or separated parts (only one mesh)

-Full-body character uses only one set of anims for all views

-Reload while aiming and reload not aiming with only one anim sequence

-Multiple sights on the gun

-No aiming animation required, simple idle animations become aiming animations with sights aligned

-Fire while aiming and fire not aiming

-Walk aim sway

-Static or skeletal mesh guns and sights

기술적 세부사항

Input: Pre-configured for Keyboard and Mouse

Network Replicated: No

Supported Development Platforms: Tested on Windows 10 64-bit desktop

Supported Target Build Platforms: Tested on Windows 10 64-bit desktop

Documentation: Video link above has detailed instructions. Blueprint code is all commented

Important/Additional Notes:

-The auto-aligning method depends on code present in the included character, gun and anim blueprints. It also depends on Epic's SK_Mannequin or SK_Mannequin_Arms skeletons

-Gun must be attached to any socket belonging to the hand_r bone

-The example hand_r socket provided fits the example gun provided (currently faces +X axis). When using your own gun, hitting the aim down sights button will still align no matter how misaligned this socket is to your gun. But you still should tweak this socket to your own gun for when not aiming down sights.

-Camera must be within reach of the arms for the alignment to work.