Mirror icon indicating copy to clipboard operation
Mirror copied to clipboard

NetworkRigidybody2D not syncing angular velocity.

Open HappyMajor opened this issue 2 years ago • 0 comments

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?

HappyMajor avatar Jan 07 '24 13:01 HappyMajor