ALS-Community icon indicating copy to clipboard operation
ALS-Community copied to clipboard

Aim direction not synchronised with other clients

Open Ivann97 opened this issue 3 years ago • 10 comments

Describe the bug When aiming in rifle overlay, sometimes character orientation/ aim yaw is not synchronized anymore with other clients.

To Reproduce Steps to reproduce the behavior:

  1. Start level the with 2 client
  2. Chose rifle overlay
  3. Don't move, aim and shake your cam in any direction , or just move your mouse very slowly
  4. See error

Expected behavior Same orientation / aim yaw on every client

Screenshots and Videos knoyHoyToFixThat

Additional context Tried to fix it myself and will continue trying but if you already have a solution I would really be thankfull

Ivann97 avatar Feb 26 '22 00:02 Ivann97

This isnt a fix, just a way to show the issue better. add an arrow component to the weapon and then make sure to set it to render in game.. will be much more accurate than drawing a line. [image: image.png] turn off "hidden in game" [image: image.png]

On Fri, Feb 25, 2022 at 4:53 PM Ivann97 @.***> wrote:

Describe the bug When aiming in rifle overlay, sometimes character orientation/ aim yaw is not synchronized anymore with other clients.

To Reproduce Steps to reproduce the behavior:

  1. Start level the with 2 client
  2. Chose rifle overlay
  3. Don't move, aim and shake your cam in any direction , or just move your mouse very slowly
  4. See error

Expected behavior Same orientation / aim yaw on every client

Screenshots and Videos [image: knoyHoyToFixThat] https://user-images.githubusercontent.com/56310194/155821246-db9515a8-72f7-4d2b-baac-6b44b70c9d9a.png

Additional context Tried to fix it myself and will continue trying but if you already have a solution I would really be thankfull

— Reply to this email directly, view it on GitHub https://github.com/dyanikoglu/ALS-Community/issues/352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRVUSOAXT34WRQ5SZB7Y3U5AP7JANCNFSM5PLU3ZMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ShreddinPB avatar Feb 26 '22 01:02 ShreddinPB

actually wanted to make a video tommorow but if this can help understanding the problem... arrows

Ivann97 avatar Feb 26 '22 01:02 Ivann97

Here is the video

https://user-images.githubusercontent.com/56310194/155839983-ef13a276-91f8-4206-ae41-6a2e629e494d.mp4

Ivann97 avatar Feb 26 '22 10:02 Ivann97

By the looks of it, your orientation is only updated when you look at a world object. Whenever you look at the character, it doesn't update - probably because it's a dynamic object?

Since it updated whenever you looked away from the character and the line trace (persumably) hit the level objects instead.

Dealman avatar Jun 18 '22 10:06 Dealman

actually wanted to make a video tommorow but if this can help understanding the problem... arrows

Is this fixed ? or still the same.

SKD0007 avatar Jul 30 '22 13:07 SKD0007

i fix it need replicate camera rotation in Smooth Control Rotation image

cheburashkalev avatar Dec 08 '22 05:12 cheburashkalev

for some reason, only the camera owner and the server know about the position of the player's camera manager

cheburashkalev avatar Dec 08 '22 05:12 cheburashkalev

if you manually synchronize these 2 parameters, then everything comes back to normal

cheburashkalev avatar Dec 08 '22 05:12 cheburashkalev

@cheburashkalev could you please further explain your fix?

rex706 avatar Feb 25 '23 02:02 rex706

This should fix the issue :

ALS Community Aim Replication fix | Unreal Engine 5

AsifulHaque avatar Mar 02 '24 02:03 AsifulHaque