【发布时间】:2023-04-01 20:51:01
【问题描述】:
所以我知道这听起来令人困惑,但它有点简单。
这是问题:
我想使用transform.RotateAround() 并让围绕屏幕中心旋转的播放器朝向鼠标。
请注意,这是在 Unity C# 2D 中
__
/ \
| |
\__/
这是玩家旋转的圆圈 o = 圆圈
__
/ \
| o (if the mouse is right here then the player should go where the o is)
\__/
抱歉解释太复杂了
【问题讨论】:
标签: c# unity3d geometry rotation