Skip to content

Instantly share code, notes, and snippets.

View sk-zk's full-sized avatar
😶‍🌫️

skzk sk-zk

😶‍🌫️
View GitHub Profile
@3dln
3dln / CameraOrbit.cs
Last active July 24, 2024 17:13
A simple Unity C# script for orbital movement around a target gameobject
// A simple Unity C# script for orbital movement around a target gameobject
// Author: Ashkan Ashtiani
// Gist on Github: https://gist.github.com/3dln/c16d000b174f7ccf6df9a1cb0cef7f80
using System;
using UnityEngine;
namespace TDLN.CameraControllers
{
public class CameraOrbit : MonoBehaviour