Skip to content

Attached Cameras

Kinsi edited this page Aug 31, 2022 · 1 revision

There is a Secret 🤫 camera Type in Camera2 called Attached - This is essentially the same as a Firstperson camera, except you can have it follow things other than your head!

Current, the only way to use it is to change a cameras type in the config to "Attached", and then save / (re)load that config. This will cause a new field, targetParent in the Smoothfollow config to appear. Here you can pass the Name / Path to any Gameobject - Camera2 will then try to look it up with GameObject.Find

To find the Names / Paths of things you can attach to you can use something like Runtime Unity Editor. I will not teach you how to use this, you are on your own.

Clone this wiki locally