Mirror
Mirror copied to clipboard
NetworkRigidybody2D not syncing angular velocity.
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
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?