質問編集履歴
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,4 +72,6 @@
|
|
72
72
|
|
73
73
|
|
74
74
|
|
75
|
+
|
76
|
+
|
75
77
|
```
|
2
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,4 +70,6 @@
|
|
70
70
|
|
71
71
|
}
|
72
72
|
|
73
|
+
|
74
|
+
|
73
75
|
```
|
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
Quaternion diff = rotate * Quaternion.Inverse(rigid.rotation);
|
66
66
|
|
67
|
-
rigid.AddTorque(new Vector3(diff.x
|
67
|
+
rigid.AddTorque(new Vector3(diff.x,diff.y, diff.z) * speed);
|
68
68
|
|
69
69
|
}
|
70
70
|
|