本記事の最終版はzennに記載します。 カメラの角度と距離を一定にして追尾するベーシックなカメラです。 トップビューのゲームの場合、これでなんとかなってしまうかもしれません。 ・target に 追尾する GameObjectを設定します。 ・offset に カメラとtargetの ...
先日、会社の人に相談を受けてCamera.projectionMatrixまわりの操作を説明しました。 説明しながら「罠が多い!そういえばCameraクラスからはたどり着きにくい関連するメソッドもいくつかある!」と思い、これはどっかに網羅されてると役立つのでは!?と書い ...
Written to aid with exploring data visualisations this script allows users to navigate a 3D scene, simply add this Script as a Component of a Camera. Allows users to reset both position and rotation ...
Raycaster TLDR: Don't use the raycaster because it's a clump of shit right now. Idea: I was raycasting a lot and reusing a lot of the same information in various scripts so I made a raycasting script ...