0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Unityローカル座標について

Last updated at Posted at 2023-02-12

Unityでローカル座標を操作する際の
個人的に簡単だった方法

オブジェクトを回転させたりした後は
localPositionやtransform.right
などを使用して操作すると自分はうまくいかなかったためメモ

C#
第二引数のSpace.Selfでローカル座標を変更できる
GameObject.transform.Translate(-speed, Space.Self)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?