artemis-nerds / protocol-docs

Unofficial documentation for the Artemis network and file protocols, written by the Artemis community
https://artemis-nerds.github.io/protocol-docs/
MIT License
8 stars 5 forks source link

turnrate units #180

Open NoseyNick opened 4 years ago

NoseyNick commented 4 years ago

protocol-docs defines turnrate as:

turnrate (float, 0-n) How fast the ship turns. This number is in degrees per second divided by 2500.

http://artemiswiki.pbworks.com/w/page/117991854/Object%20Properties says "The maximum turn rate, in radians per cycle. (~1/50 second)". This would be closer to 2865 degrees/sec

See discussion at https://artemis.forumchitchat.com/post/turning-rate-how-does-it-work-10183249 where "DizzyKungFu" measures with a stopwatch and comes up with something that's not quite any of the above, but is probably closer to the radians-per-50th-of-a-sec.

Research? Confirm / Deny? Update?

StarryWisdom commented 4 years ago

this is slightly more confusing as it depends on the power % of manouver I can go dig up code but IIRC the turn rate is ((turn rate in xml)*(manouver power %)-0.0005) per time unit

note this means 300% is not 3x the turn rate of 100% and there is a dead zone within which you cant turn I have conflicting comments at hand as to if the time unit is 10 ms, 20 ms