Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
快速入门指南
启用物理插值:项目设置 > 物理 > 通用 > 物理插值
请确保在
_physics_process()中移动物体、运行游戏逻辑,而非_process()。这包括物体的直接移动和间接移动(例如移动父级、使用其他机制自动移动节点)。请确保在首次设置位置或传送节点之后调用 Node.reset_physics_interpolation,防止出现“拖影”现象。
要观察启用和禁用插值的区别,可暂时将项目设置 > 物理 > 通用 > 每秒物理周期数设置为 10。