回答編集履歴

3

Quaternion

2020/09/10 13:06

投稿

shiena
shiena

スコア1825

test CHANGED
@@ -7,3 +7,19 @@
7
7
 
8
8
 
9
9
  `Marthf`は`Mathf`のスペルミスなので`r`を消せばエラー解消されます。
10
+
11
+
12
+
13
+ `Quaternion`は以下の行で`rotation`が二重の`rotation.rotation`になっているためです。
14
+
15
+
16
+
17
+ ```cs
18
+
19
+ this.PlayerController.transform.rotation = Quaternion.Euler(0,-Mathf.Atan2(dz,dx)*Mathf.Rad2Deg - this.MainCamera.transform.rotation.rotation.eulerAngles.y,0);
20
+
21
+ ```
22
+
23
+
24
+
25
+ エラーメッセージはGoogle翻訳やDeepLなどである程度読める日本語に翻訳できるのでエラーメッセージから原因を類推する事をおすすめします。

2

URL修正

2020/09/10 13:06

投稿

shiena
shiena

スコア1825

test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- [Standard Assets (for Unity 2018.4)](https://assetstore.unity.com/packages/essentials/asset-packs/standard-assets-for-unity-2018-4-32351?locale=ja-JP#releases)
5
+ [Standard Assets (for Unity 2018.4)](https://assetstore.unity.com/packages/essentials/asset-packs/standard-assets-for-unity-2018-4-32351)
6
6
 
7
7
 
8
8
 

1

誤字修正

2020/09/07 08:04

投稿

shiena
shiena

スコア1825

test CHANGED
@@ -6,4 +6,4 @@
6
6
 
7
7
 
8
8
 
9
- `Marthf`は`Mathf`のスペルミスなので`r`を消ばエラー解消されます。
9
+ `Marthf`は`Mathf`のスペルミスなので`r`を消ばエラー解消されます。