> For the complete documentation index, see [llms.txt](https://steijn.gitbook.io/devlogs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://steijn.gitbook.io/devlogs/devlog-personal/solo/learning-unity-3.md).

# learning unity 3

I wanted to find out how to place and manage a turret.&#x20;

After following some tutorials i managed to get a turret asset, which let me import a model and materials.&#x20;

After this i had to make some scripts to make the enemy targeting and rotation work properly.&#x20;

<https://i.gyazo.com/e4e0e7f49376029056380526fae86f70.mp4>

After working with rotations and setting them up properly it worked.&#x20;

It took some getting used to the differences in the tutorials editor program vs my own, there's a version discrepancy which causes my prefabs to have slightly different rules and automations. This is something to keep in mind when i look for tutorials in the future.&#x20;

I've also been setting up a git.
