Movement Formulas/zh: Difference between revisions
Content added Content deleted
(Created page with "注意,由于[https://wanweibaike.net/wiki-%E6%B5%AE%E7%82%B9%E6%95%B0 浮点数]的计算方式,这些公式是'''不精确'''的。< br > 当这些公式用于计算时...") |
(Created page with "* ''垂直运动''' (递推公式) * '''水平运动''' (递推公式) *...") |
||
Line 13: | Line 13: | ||
⚫ | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
* [[Special:MyLanguage/ |
* [[Special:MyLanguage/Horizontal Movement Formulas|'''水平运动''' (递推公式)]] |
||
* [[Special:MyLanguage/ |
* [[Special:MyLanguage/Nonrecursive Movement Formulas|'''非递推公式''']] |
||
⚫ | |||
</div> |
|||
Revision as of 04:40, 22 August 2021
![](http://static.miraheze.org/mcpkwiki/thumb/4/44/0t_sprintjump_graph.png/500px-0t_sprintjump_graph.png)
玩家的移動可以通過序列精確計算。
以下公式來自於對遊戲原始碼的分析。
注意,由於浮點數的計算方式,這些公式是不精確的。< br >
當這些公式用於計算時,只有前4-6個小數是準確的。< br >
為了獲得完全準確的模擬,您需要複製原始碼。
Note:
Minecraft's coordinate system is oriented differently: 0° points towards "positive Z", and 90° points towards "negative X".
We choose to work in the standard coordinate system to make calculations more intuitive.