This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
FAQ (Unity)
SanghunK edited this page Jan 15, 2021
·
2 revisions
// ~ version 1.5.1
BhapticsManager.GetHaptic().IsActive(PositionType pos);
// version 1.5.2 ~
BhapticsManager.GetHaptic().IsConnect(PositionType pos);
- Reference IHaptic.cs
- Update to version 1.5.2. The right side was also added.
- If you want to make a new one, Using HapticClip is easier way. Duplicate the HapticClip file and check IsReflect.
- The script uses the following:
// For the clips type of ArmsHapticClip and FeetHapticClip and HandsHapticClip, you can use
public ArmsHapticClip clip;
clip.IsReflect = true;
clip.Play();
- Unfortunately, clips type of HeadHapticClip and VestHapticClip are not possible.
- Reference 6_DotPoint_via_script example scene(need version 1.5.2).
- Use the following functions. And, if necessary, use Coroutine.
BhapticsManager.GetHaptic().Submit(string key, PositionType position, List<DotPoint> points, int durationMillis)
BhapticsManager.GetHaptic().Submit(string key, PositionType position, List<PathPoint> points, int durationMillis)