diff --git a/Assets/Src/ShipControls.cs b/Assets/Src/ShipControls.cs index 8b5171c..2d5ae7c 100755 --- a/Assets/Src/ShipControls.cs +++ b/Assets/Src/ShipControls.cs @@ -95,7 +95,6 @@ public class ShipControls : MonoBehaviour, ShipInput.IMovementActions { rigidBody.rotation = Quaternion.RotateTowards(transform.rotation, aim.transform.rotation, step); } - void UpdateCamera() { // there's some hokey scaling that went on with the old input // we were originally using diff --git a/Assets/Src/ShipPhysics.cs b/Assets/Src/ShipPhysics.cs index b7a9d22..59fbead 100644 --- a/Assets/Src/ShipPhysics.cs +++ b/Assets/Src/ShipPhysics.cs @@ -15,6 +15,7 @@ public class ShipPhysics : MonoBehaviour { // Debug.DrawRay(contact.point, contact.normal, Color.white); // } + Debug.Log("mag" + collision.relativeVelocity.magnitude); if (collision.relativeVelocity.magnitude > maxDmg) { Debug.Log("Ddddestroyed by" + collision.gameObject.name); ship.Respawn(); diff --git a/Assets/UI Toolkit/ShipInterface.uxml b/Assets/UI Toolkit/ShipInterface.uxml index 6ef4e3b..8b46564 100644 --- a/Assets/UI Toolkit/ShipInterface.uxml +++ b/Assets/UI Toolkit/ShipInterface.uxml @@ -7,8 +7,8 @@ - + diff --git a/ProjectSettings/BurstAotSettings_WebGL.json b/ProjectSettings/BurstAotSettings_WebGL.json new file mode 100644 index 0000000..eed54c3 --- /dev/null +++ b/ProjectSettings/BurstAotSettings_WebGL.json @@ -0,0 +1,16 @@ +{ + "MonoBehaviour": { + "Version": 4, + "EnableBurstCompilation": true, + "EnableOptimisations": true, + "EnableSafetyChecks": false, + "EnableDebugInAllBuilds": false, + "DebugDataKind": 1, + "EnableArmv9SecurityFeatures": false, + "CpuMinTargetX32": 0, + "CpuMaxTargetX32": 0, + "CpuMinTargetX64": 0, + "CpuMaxTargetX64": 0, + "OptimizeFor": 0 + } +} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 707090f..9a88e25 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -134,7 +134,8 @@ PlayerSettings: vulkanEnableCommandBufferRecycling: 1 loadStoreDebugModeEnabled: 0 bundleVersion: 0.1 - preloadedAssets: [] + preloadedAssets: + - {fileID: 11400000, guid: 020903acd8b50dd45a683fb9312ba7af, type: 2} metroInputSource: 0 wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1