浏览代码

Minor changes to UI and adding demo gifs

/main
Juozas Kasiliauskas 3 年前
当前提交
3afaf811
共有 8 个文件被更改,包括 4016 次插入10 次删除
  1. 2
      Assets/ID_CoriolisCentrifugal/ID_CoriolisCentrifugal_Demo.cs
  2. 16
      Assets/ID_CoriolisCentrifugal/ID_CoriolisCentrifugal_Scene.unity
  3. 4
      ProjectSettings/ProjectVersion.txt
  4. 1001
      Demo_gifs/ID_CoriolisCentrifugal_Demo.gif
  5. 1001
      Demo_gifs/ID_DriveForces_Demo.gif
  6. 1001
      Demo_gifs/ID_ForcesForAcceleration_Demo.gif
  7. 1001
      Demo_gifs/ID_GravityForces_Demo.gif

2
Assets/ID_CoriolisCentrifugal/ID_CoriolisCentrifugal_Demo.cs


targetAB.GetJointCoriolisCentrifugalForces(results);
targetAB.GetDofStartIndices(indices);
statusOutput.text = "Coriolis Force: \n" + (-results[indices[targetAB.index]]).ToString("F2") + " N";
statusOutput.text = "Coriolis/Centrifugal\nForce: \n" + (-results[indices[targetAB.index]]).ToString("F2") + " N";
}
public void OnClickIncrease()

16
Assets/ID_CoriolisCentrifugal/ID_CoriolisCentrifugal_Scene.unity


m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 198550139}
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Mass: 5
m_ParentAnchorPosition: {x: 0, y: 2.25, z: 0}
m_ParentAnchorRotation: {x: 0, y: 0, z: 0, w: 1}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 793139695}
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Mass: 5
m_ParentAnchorPosition: {x: 0, y: 0, z: -2.5}
m_ParentAnchorRotation: {x: -0.49999925, y: 0.49999925, z: 0.5000007, w: 0.5000007}

m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: Coriolis Force
m_Text: 'Coriolis/Centrifugal
Force'
--- !u!222 &1005765383
CanvasRenderer:
m_ObjectHideFlags: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1191201440}
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Mass: 5
m_ParentAnchorPosition: {x: 0, y: 0, z: 0}
m_ParentAnchorRotation: {x: 0, y: 0, z: 0.70710677, w: 0.70710677}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1241982501}
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Mass: 5
m_ParentAnchorPosition: {x: 0, y: 2.25, z: 0}
m_ParentAnchorRotation: {x: 0, y: 0, z: 0.70710677, w: 0.70710677}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1711596002}
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Mass: 1
m_ParentAnchorPosition: {x: 0, y: 0, z: 0}
m_ParentAnchorRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1794457151}
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Mass: 2
m_ParentAnchorPosition: {x: 0, y: -0.000008106232, z: -2.75}
m_ParentAnchorRotation: {x: 0, y: 0, z: 0.70710677, w: 0.70710677}

4
ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2022.1.0a14
m_EditorVersionWithRevision: 2022.1.0a14 (cf4a09e5b0a4)
m_EditorVersion: 2022.1.0a15
m_EditorVersionWithRevision: 2022.1.0a15 (1bc6aa98ceeb)

1001
Demo_gifs/ID_CoriolisCentrifugal_Demo.gif
文件差异内容过多而无法显示
查看文件

1001
Demo_gifs/ID_DriveForces_Demo.gif
文件差异内容过多而无法显示
查看文件

1001
Demo_gifs/ID_ForcesForAcceleration_Demo.gif
文件差异内容过多而无法显示
查看文件

1001
Demo_gifs/ID_GravityForces_Demo.gif
文件差异内容过多而无法显示
查看文件

正在加载...
取消
保存