miwarnec / DOTSNET

Public DOTSNET issue tracker
20 stars 0 forks source link

Quaternion Compression/Decompression bug #57

Closed Nyert closed 2 years ago

Nyert commented 2 years ago

[Describe the bug when rotating the character over the network, it sometimes flips

[IMPORTANT] How can we reproduce the issue, step by step: to reproduce it i used the physics scene and made some slight changes, server driven physics + changed the movement to have an horizontal only rotation

  1. Install the package in a DOTSNET 1.38 project and apply the DOTSNET Modified Physics Exampleto it
  2. Play the scene
  3. Use your mouse to rotate around in the same direction, with different speeds
  4. Repeat 2 until the Capsule (character) flips out on itself even though he is not supposed to, this never happen without the quaternion compression it is quite an inconsistent bug so reproducing it can happen right away or take some time.

Expected behavior the capsule(character) shouldn't flip around

Desktop (please complete the following information):

Contact me on DOTSNET discord for additional info on DrBoum

https://user-images.githubusercontent.com/55545442/144494715-e100013b-5a99-4fce-a904-3fb35c8a92ba.mp4

miwarnec commented 2 years ago

fix is in next version :)