質問編集履歴

1

文章を修正中

2021/04/15 12:41

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -144,9 +144,9 @@
144
144
 
145
145
  {
146
146
 
147
- playerPosition.x += speed.x / 0.70710678118;
147
+ playerPosition.x += speed.x * 0.70710678118;
148
148
 
149
- playerPosition.y += speed.y / 0.70710678118;
149
+ playerPosition.y += speed.y * 0.70710678118;
150
150
 
151
151
  }
152
152