質問編集履歴

1

誤ったコードを削除しました

2021/09/05 04:05

投稿

taa
taa

スコア3

test CHANGED
File without changes
test CHANGED
@@ -46,8 +46,6 @@
46
46
 
47
47
  Vector3 force = new Vector3(transform.forward.x, transform.forward.y * 60, transform.forward.z);
48
48
 
49
- rb.rotation = Quaternion.AngleAxis(90.0f, Vector3.forward);
50
-
51
49
  rb.AddForce(force, ForceMode.Force);
52
50
 
53
51
  }