Rendering and environment improvements

This commit is contained in:
Daniel Lovell
2024-09-12 11:39:23 -07:00
parent 742da94fe9
commit 2bc8af1ff3
104 changed files with 13846 additions and 220 deletions

View File

@@ -4,7 +4,7 @@ using UnityEngine;
public class Micromissile : Missile
{
[SerializeField] private float navigationGain = 10f; // Typically 3-5
[SerializeField] private float navigationGain = 5f; // Typically 3-5
[SerializeField] private bool _showDebugVectors = true;
private Vector3 _previousLOS;
@@ -83,10 +83,10 @@ public class Micromissile : Missile
if (_target != null)
{
// Line of sight
Debug.DrawLine(transform.position, _target.transform.position, Color.white);
Debug.DrawLine(transform.position, _target.transform.position, new Color(1, 1, 1, 0.15f));
// Velocity vector
Debug.DrawRay(transform.position, GetVelocity()*0.01f, Color.blue);
Debug.DrawRay(transform.position, GetVelocity()*0.01f, new Color(0, 0, 1, 0.15f));
// Acceleration input
Debug.DrawRay(transform.position, _accelerationCommand*1f, Color.green);