Commit a9afa9d3 authored by Chae Ho Shin's avatar Chae Ho Shin

minor double click movement bug fix, fix bug with model

parent 3f632d7b
......@@ -740,7 +740,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d99664edeab700d4ca972d282f99515b, type: 3}
m_Name:
m_EditorClassIdentifier:
time: 0.02
time: 0.1
leaveworldline: 1
--- !u!64 &439858919
MeshCollider:
......@@ -1574,7 +1574,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d99664edeab700d4ca972d282f99515b, type: 3}
m_Name:
m_EditorClassIdentifier:
time: 0.02
time: 0.1
leaveworldline: 1
--- !u!54 &839664888
Rigidbody:
......@@ -3226,7 +3226,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d99664edeab700d4ca972d282f99515b, type: 3}
m_Name:
m_EditorClassIdentifier:
time: 0.02
time: 0.1
leaveworldline: 1
--- !u!64 &1320474665
MeshCollider:
......
......@@ -6,7 +6,7 @@ using MathNet.Numerics.LinearAlgebra.Double;
public static class Constants
{
public static double c => 4; // speed of light.
public static double c => 9; // speed of light.
public static int alphatinterval => 50;
public static double Gamma(double v)
{
......
......@@ -56,7 +56,7 @@ public class ExtrudedMesh : MonoBehaviour
List<ExtrudedTrailSection> sections = new List<ExtrudedTrailSection>();
void LateUpdate()
void FixedUpdate()
{
transform.SetAsFirstSibling();
var position = transform.position;
......
......@@ -192,7 +192,7 @@ public class FlatlandMovement : MonoBehaviour
var atmp = (float)(v * Constants.c);
double[] vtmp = { ((acceleration.x / acceleration.magnitude)), 0.0, ((acceleration.z / acceleration.magnitude)) };
double[] vtmp = { atmp * ((acceleration.x / acceleration.magnitude)), 0.0, atmp * ((acceleration.z / acceleration.magnitude)) };
var deltavnaive = V.DenseOfArray(vtmp);
double[] tmp = {Constants.c * Constants.Gamma(deltavnaive.L2Norm()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment