Announcement

Collapse
No announcement yet.

Gun Sight Auto-Aligner

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Hey, just do this change in the anim blueprint (AB_ExampleCharacter). Delete the FlipFlop and add another custom event (ExitAim), wired like shown below:

    Click image for larger version

Name:	AimAnimBlueprint.JPG
Views:	134
Size:	170.6 KB
ID:	1690465

    Then do this change in the character blueprint (B_ExampleCharacter):

    Click image for larger version

Name:	AimCharacter.JPG
Views:	124
Size:	327.4 KB
ID:	1690466


    Please let me know if you encounter any problems...
    My Marketplace assets:

    Gun Assembly System

    Gun Sight Auto Aligner

    Comment


      #17
      Updated to v1.1.1

      Change log:

      - Small change in the method of calculation of ironsights. It now uses the node FindLookAtRotation followed by roll adjustment, instead of the dot products, RotationFromAxisAndAngle and CombineRotators nodes to find the direction from rear sight to front sight. The new method works better with the change implemented in v1.1.0 (since v1.1.0, the old method would let the rear sight a bit off depending on its location on the gun in relation to the front sight)

      - Corrected code comments that were outdated since v1.1.0

      - Updated to Unreal Engine v4.24
      Last edited by PeaceSells_; 01-10-2020, 07:53 PM.
      My Marketplace assets:

      Gun Assembly System

      Gun Sight Auto Aligner

      Comment

      Working...
      X