「Unity/Csharp/位置と回転」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==中間位置== Vector3 center = Vector3.Lerp(fromObj, toObj, 0.5f);」) |
|||
| 行1: | 行1: | ||
==中間位置== | ==中間位置== | ||
Vector3 center = Vector3.Lerp(fromObj, toObj, 0.5f); | Vector3 center = Vector3.Lerp(fromObj, toObj, 0.5f); | ||
| + | |||
| + | ==3dの回転== | ||
| + | [[Unity/3d/回転]] [ショートカット] | ||
2022年2月18日 (金) 17:06時点における版
中間位置
Vector3 center = Vector3.Lerp(fromObj, toObj, 0.5f);
3dの回転
Unity/3d/回転 [ショートカット]
