【3Dゲームエンジン】Unity質問スレッド25at GAMEDEV
【3Dゲームエンジン】Unity質問スレッド25
- 暇つぶし2ch383:かけてやればいいだけだが… 例えば public float baseDistance=10;//基準になる(=倍率1になる)距離 void Update{ Vector3 toward=Camera.main.transform.position-transform.position; transform.localScale=toward.magnitude/baseDistance; transform.rotation=Quaternion.LookRotation(toward,Vector3.up); } とかだろ
次ページ続きを表示1を表示最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch