Skip to content

Commit

Permalink
Unity Toolkit 1.0 (#61)
Browse files Browse the repository at this point in the history
* start adding shader

* flip the rotation of the end effector when switching to object

* use linerenderers for visuals, add prefabs for each trail

* add toggle between modes

* start refactoring visuals

* add new dll

* try with new shader

* basic compute shader based solution

* experiments with compute shaders

* add both handles, add to panto prefab

* use lossy scale

* remove debug print

* make scratch sound louder and loop properly

* Update SpeechIOForUnity

* fix layers

* documentation updates (#64)

* documentation updates

* use relative image paths

* update readme

* add gif again

* update readme

Co-authored-by: corinnaj <[email protected]>

* replace images for blind mode

* some refactoring, first fix debug mode

* debug mode respects movement constraints

* better wall visuals and generation

* update documentation

* remove debug prints

Co-authored-by: corinnaj <[email protected]>
Co-authored-by: georgt99 <[email protected]>
  • Loading branch information
3 people authored Apr 18, 2021
1 parent 674b5fb commit 7b3f381
Show file tree
Hide file tree
Showing 68 changed files with 6,446 additions and 495 deletions.
104 changes: 68 additions & 36 deletions Assets/ExampleScenes/HapticTextures.unity
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ GameObject:
- component: {fileID: 325785226}
- component: {fileID: 325785225}
- component: {fileID: 325785229}
m_Layer: 11
m_Layer: 8
m_Name: Cylinder
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -236,7 +236,7 @@ MonoBehaviour:
distanceX: 0.5
layerMask:
serializedVersion: 2
m_Bits: 2048
m_Bits: 256
--- !u!1 &651873822
GameObject:
m_ObjectHideFlags: 0
Expand All @@ -250,7 +250,7 @@ GameObject:
- component: {fileID: 651873824}
- component: {fileID: 651873823}
- component: {fileID: 651873827}
m_Layer: 11
m_Layer: 8
m_Name: Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -349,7 +349,7 @@ MonoBehaviour:
distanceX: 0.5
layerMask:
serializedVersion: 2
m_Bits: 2048
m_Bits: 256
--- !u!1 &880537917
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -574,79 +574,98 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 87073778819318775, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 87073778819318775, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422808, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422808, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: debug
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422808, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422808, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: portName
value: //.//COM3
objectReference: {fileID: 0}
- target: {fileID: 826605487606422809, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422809, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_Name
value: Panto
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 826605487606422813, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2307693089428900514, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 2307693089428900514, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.3
objectReference: {fileID: 0}
- target: {fileID: 5330993574101415308, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 5330993574101415308, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8373185769348013176, guid: f08d327e9fb42f94d97ba9d1d226d418, type: 3}
- target: {fileID: 8373185769348013176, guid: f08d327e9fb42f94d97ba9d1d226d418,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: f2fecced13b050b418bb4d305b0ec4fd, type: 2}
Expand All @@ -659,58 +678,71 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 1103546739}
m_Modifications:
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940633445967004887, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
- target: {fileID: 940633445967004887, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
propertyPath: m_Name
value: ObstacleSphere
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
--- !u!4 &1968542768 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22, type: 3}
m_CorrespondingSourceObject: {fileID: 940633445967004886, guid: af09ba9c5f8233441be32ef80c475e22,
type: 3}
m_PrefabInstance: {fileID: 1968542767}
m_PrefabAsset: {fileID: 0}
Loading

0 comments on commit 7b3f381

Please sign in to comment.