Ashby Issac 0bace59e6d Car movement and camera changes.
Integrated custom car movements and fixed issues with follow camera behaviours.
2026-01-05 13:34:57 +05:30

22 lines
606 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "CarSpecs", menuName = "CarSpecs", order = 1)]
public class CarSpecs : ScriptableObject
{
public float dampingForce = 50;
public float strength = 500;
public float suspensionRestDist = 0.6f;
public float hitDist = 0.4f;
public float gripFactor = 0.4f;
public float tireMass = 2f;
public float totalSpeed = 20f;
public float rotationSpeed = 10f;
public float tireRotationAngle = 60f;
public float speedValue = 300f;
public float accelSpeed = 75f;
}