float angle_to_point ( Vector2 to )文档中有这两个计算角度的函数,图也是文档的图解,按我的理解,Vector(1, 0).angle_to(Vector(a, b))应该始终等于Vector(0, 0).angle_to_point(Vector(a, b))吧,但是实际计算出来这两个角度是相反的,求大佬解答。Godot版本3.5,原文档地址:https://docs.godotengine...
godotengine/godotPublic Notifications Fork9k Star51.3k master BranchesTags godot/core/math/vector2.cpp Go to file Copy path Cannot retrieve contributors at this time 191 lines (157 sloc)6.17 KB RawBlame /***/ /*vector2.cpp*/ /***/ /*This file is part of:*/ /*GODOT ENGINE*/ /...