Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #193 from bhaptics/tac-1.6.4a
Browse files Browse the repository at this point in the history
Fix TactFile Angle Offset issue on VestHapticClip
  • Loading branch information
SanghunK authored Nov 30, 2021
2 parents 3629a2f + d6e3f49 commit 46db019
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
Binary file modified samples/unity-plugin/Assets/Bhaptics/README.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ public class VestHapticClip : FileHapticClip
#region Play method
public override void Play()
{
Play(Intensity, Duration, this.TactFileAngleX, this.TactFileOffsetY, "");
Play(Intensity, Duration, 0f, 0f, "");
}

public override void Play(string identifier)
{
Play(Intensity, Duration, this.TactFileAngleX, this.TactFileOffsetY, identifier);
Play(Intensity, Duration, 0f, 0f, identifier);
}

public override void Play(float intensity, string identifier = "")
{
Play(intensity, Duration, this.TactFileAngleX, this.TactFileOffsetY, identifier);
Play(intensity, Duration, 0f, 0f, identifier);
}

public override void Play(float intensity, float duration, string identifier = "")
{
Play(intensity, duration, this.TactFileAngleX, this.TactFileOffsetY, identifier);
Play(intensity, duration, 0f, 0f, identifier);
}

public override void Play(float intensity, float duration, float vestRotationAngleX, string identifier = "")
{
Play(intensity, duration, vestRotationAngleX, this.TactFileOffsetY, identifier);
Play(intensity, duration, vestRotationAngleX, 0f, identifier);
}

public override void Play(float intensity, float duration, float vestRotationAngleX, float vestRotationOffsetY, string identifier = "")
Expand Down
3 changes: 3 additions & 0 deletions samples/unity-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Unity plugin 1.6.4(Nov 30th, 2021.)
* Fix: bug rotation offset of VestHapticClip

## Unity plugin 1.6.3(Nov 24th, 2021.)
* Update: add hapticClip auto play on editor
* Update: android aar files
Expand Down
6 changes: 3 additions & 3 deletions samples/unity-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unity plugin
* This project will help integrate bHaptics' haptic devices into Unity environments.
* Current version is 1.6.3
* Current version is 1.6.4
```
## Unity SDK Migration Guide 1.5.9 to 1.6.0 - for Android
* The location permission is no longer need. Just use Bluetooth pairing on Android.
Expand All @@ -22,13 +22,13 @@


## Documentation
* [Getting Started Guide](https://github.com/bhaptics/haptic-library/wiki/Unity-Getting-Started)
* [Getting Started Guide](https://github.com/bhaptics/haptic-library/wiki/Getting-Started(Unity))
* [How to set up in the Oculus Quest](https://github.com/bhaptics/haptic-library/wiki/Getting-Started-(Unity-Oculus-Quest))
* [Advanced Guide](https://github.com/bhaptics/haptic-library/wiki/Unity-Advanced-Guide)
* [FAQ](https://github.com/bhaptics/haptic-library/wiki/FAQ-(Unity))
* [Migration guide](https://github.com/bhaptics/haptic-library/wiki/Unity-Migration-Guide)


##### Last update of README.md: Nov 24th, 2021.
##### Last update of README.md: Nov 30th, 2021.

##### Copyright 2017~21 bHaptics Inc.

0 comments on commit 46db019

Please sign in to comment.