Skip to content
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

NetworkRigidybody2D not syncing angular velocity. #3722

Open
HappyMajor opened this issue Jan 7, 2024 · 0 comments
Open

NetworkRigidybody2D not syncing angular velocity. #3722

HappyMajor opened this issue Jan 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HappyMajor
Copy link

HappyMajor commented Jan 7, 2024

Describe the bug
NetworkRigidbody2D is not updating the angular velocity when using RigidBody2D.AddTorque.

Expected behavior
I embedded a screenshot of my debugger session showing the faulty behavior. I think "angularVelocityChanged" should be true in this case but is not.

Screenshots
image

Values displayed in this screenshot:
previousValue.angularVelocity = 0
currentAngularVelocity = 2.843468
angularVelocitySensitivity = 0.001
syncAngularVelocity = true
angularVelocityChanged = false

Additional context
I think this can be fixed by using the absolute value of the difference.

Can someone assign me to this problem?

@MrGadget1024 MrGadget1024 added the bug Something isn't working label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants