Skip to content

Instantly share code, notes, and snippets.

View Radicals27's full-sized avatar
💭
Interning @ Maxart

Radicals27

💭
Interning @ Maxart
View GitHub Profile
@davehampson
davehampson / ShipCamera.cs
Last active January 31, 2023 23:21
Framerate independent blend
using UnityEngine;
public class ShipCamera : MonoBehaviour
{
public GameObject m_Ship;
public Vector3 m_RelativePos;
void LateUpdate()
{
//float scale = 0.05f; // Framerate dependent code, bad.