【问题标题】:How Can I Rotate character based on direction He is Moving in Godot 4.0 3D如何根据他在 Godot 4.0 3D 中移动的方向旋转角色 【发布时间】:2022-08-03 17:11:52 【问题描述】: 有没有办法在代码中做到这一点 例如 : Rotation.y = 某事 你可以看这里stackoverflow.com/questions/51818981/… 标签: 3d rotation godot isometric topdown 【解决方案1】: rotation.y = atan2(velocity.x,velocity.z) 【讨论】: 通过添加有关代码的作用以及如何解决问题的更多信息,可以改进您的答案。