Skip to content

Instantly share code, notes, and snippets.

View zak-grumbles's full-sized avatar

Zak zak-grumbles

View GitHub Profile
@zak-grumbles
zak-grumbles / PlayerCamera.cs
Created January 28, 2019 01:50
Set of Unity scripts for a third-person character using a Rigidbody for movement.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerCamera : MonoBehaviour
{
public GameObject Target;
public Vector3 Offset; // Distance from Target
public float TurnSpeed = 1f;