Skip to content

Commit

Permalink
Merge pull request #8 from SUMO2Unity/shijas/visual-improvements
Browse files Browse the repository at this point in the history
Shijas/visual improvements.
  • Loading branch information
shijasck11 authored Jan 29, 2024
2 parents 9035fa6 + f04f534 commit 67939d8
Show file tree
Hide file tree
Showing 16 changed files with 1,233 additions and 8,247 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public class CarController : MonoBehaviour
[SerializeField] private float m_SlipLimit;
[SerializeField] public float m_BrakeTorque;
[SerializeField] private Transform steeringWheel;
[SerializeField] private Transform speedMeterNeedle;

private Quaternion[] m_WheelMeshLocalRotations;
private Vector3 m_Prevpos, m_Pos;
Expand Down Expand Up @@ -195,10 +196,9 @@ private void CapSpeed()
}
}


private void ApplyDrive(float accel, float footbrake)
{

speedMeterNeedle.eulerAngles = new Vector3(speedMeterNeedle.eulerAngles.x, speedMeterNeedle.eulerAngles.y, -CurrentSpeed); //added speed gauge needle movements
float thrustTorque;
switch (m_CarDriveType)
{
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ GameObject:
m_Component:
- component: {fileID: 3577241519509372219}
m_Layer: 0
m_Name: Alma_blue
m_Name: AlmaBlue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ GameObject:
m_Component:
- component: {fileID: 7059160947238412529}
m_Layer: 0
m_Name: Alma_grey
m_Name: AlmaGrey
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GameObject:
m_Component:
- component: {fileID: 2997705377737364751}
m_Layer: 0
m_Name: Elka_Grey
m_Name: ElkaGrey
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ GameObject:
m_Component:
- component: {fileID: 6045808475519047074}
m_Layer: 0
m_Name: Elka_red
m_Name: ElkaRed
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ GameObject:
m_Component:
- component: {fileID: 4225931573411356675}
m_Layer: 0
m_Name: Elora_Blue
m_Name: EloraBlue
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GameObject:
m_Component:
- component: {fileID: 3496484923177587359}
m_Layer: 0
m_Name: Elora_white
m_Name: EloraWhite
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
Loading

0 comments on commit 67939d8

Please sign in to comment.