0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

unity_イベント時にオブジェクトの移動座標がズレる

Posted at

unity初心者の備忘録。
イベントでオブジェクトを指定の座標まで動かす際に、ズレが生じる問題の対処法。
オブジェクトのインスペクターにあるTransformをもとに座標を指定してもズレが生じる場合、子オブジェクト(親オブジェクトにぶら下がってるやつ)になっている可能性が高い
その場合、親オブジェクトから分離するか、オブジェクトそのものをコピーして新規貼り付けし、分離したものを動かすようにするといいみたい。

image.png

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?