質問編集履歴
4
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
transform.LookAt(GameObject target);
|
6
6
|
|
7
|
-
transform.rotation = Quaternion.Euler(transform.eulerAngles.x, transform.eulerAngles.y + 180, transform.eulerAngles.z);
|
7
|
+
transform.rotation *= Quaternion.Euler(transform.eulerAngles.x, transform.eulerAngles.y + 180, transform.eulerAngles.z);
|
8
8
|
|
9
9
|
}
|
10
10
|
|
3
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
transform.LookAt(GameObject target);
|
6
6
|
|
7
|
-
transform.rotation = Quaternion.Euler(transform.r
|
7
|
+
transform.rotation = Quaternion.Euler(transform.eulerAngles.x, transform.eulerAngles.y + 180, transform.eulerAngles.z);
|
8
8
|
|
9
9
|
}
|
10
10
|
|
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
transform.LookAt(GameObject target);
|
6
6
|
|
7
|
-
transform.rotation = Quaternion.Euler(
|
7
|
+
transform.rotation = Quaternion.Euler(transform.rotation.x, transform.rotation.y + 180, transform.rotation.z);
|
8
8
|
|
9
9
|
}
|
10
10
|
|
1
タイトルの簡略化
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
LookAt()にy軸180を追加したい
|
1
|
+
LookAt()にy軸180°を追加したい
|
test
CHANGED
File without changes
|