Announcement

Collapse
No announcement yet.

Can't setup aim offset for multiplayer

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

  • replied
    Ok so I had the same issue with control rot. I realized that if the pitch goes below 0 it snaps to 360. So I went back to my anim BP and just did this: Click image for larger version

Name:	Math.png
Views:	1
Size:	118.2 KB
ID:	1126326 and now it works fine. Idk what is going on but I made it to work and its ok for now. Thanks for help!

    Leave a comment:


  • replied
    Ill give it a go after work.

    Leave a comment:


  • replied
    I've never tried that function "Get Base Aim Rotation", what I did was use controller rotation, and made a pitch variable in the character bp to replicate the pitch of the owner's control rotation (on "Event Tick" I check if it's the server running it, if true get control rotation and set the pitch variable).

    Leave a comment:


  • started a topic Can't setup aim offset for multiplayer

    Can't setup aim offset for multiplayer

    Hi guys. I have a simple multiplayer project setup. Everything is fine, but I have no luck with setting up the aim offset. The pitch value from the node "get base aim rotation" goes bananas if the value goes below 0. It snaps to like 300 for some reason. The setup:


    Click image for larger version

Name:	Offset.png
Views:	1
Size:	93.0 KB
ID:	1216340


    How it looks:

    I can't find any tutorials on this and idk what I am doing wrong. Any help is welcome.
Working...
X