Announcement

Collapse
No announcement yet.

Weapon does not aim at the mouse position/crosshair

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

    Weapon does not aim at the mouse position/crosshair

    Hello

    I'm trying to make a sidescroller game but I have the problem that the gun is not pointing to the mouse position/crosshair.

    Can someone help me to get the gun pointing the right way I have already searched around but found nothing that solves my problem.

    It would be good if someone had a video or an image of how to solve this because I am still learning how everything works.


    Click image for larger version

Name:	Game Preview Standalone (64-bit_PCD3D_SM5) (2).png
Views:	97
Size:	612.8 KB
ID:	1790244





    #2
    Hi man,
    Give us a screenshot.

    the aim and the target have always tha same offset?
    the gun is always pointed 60° down?
    How did you calculate and set the aim?

    Comment


      #3
      What Est_engine said, we need more info. In the meantime though, I'd use an AimOffset, or rotate the spine bone in an AnimBP.
      Working on King Arthur: Knight's Tale.

      Comment


        #4
        Hello
        I solved the problem myself.
        I have created a new AimOffset and it works well now something did not work with the old one.

        But thanks for trying to help me.

        Comment

        Working...
        X