-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aim direction not synchronised with other clients #352
Comments
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
<#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: ***@***.***>
|
Here is the video video3.mp4 |
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. |
for some reason, only the camera owner and the server know about the position of the player's camera manager |
if you manually synchronize these 2 parameters, then everything comes back to normal |
@cheburashkalev could you please further explain your fix? |
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:
Expected behavior
Same orientation / aim yaw on every client
Screenshots and Videos
Additional context
Tried to fix it myself and will continue trying but if you already have a solution I would really be thankfull
The text was updated successfully, but these errors were encountered: