主角移動方向由自身座標轉換為世界座標(維持旋轉後的控制方向正確)。 //主角移動方向的量乘以行走速度。 MoveDirection = Vector3(0, 0,Input.
forum.unity3d.com.tw