Banner for the page
0

Touch PiShock

  • May 19th, Multi Touch-PiShocks! Recommend removing and importing this new build, and add into place, for a clean and bug free setup!
    Up to 6 (00-05) PiShocks can be used at once. Not all needed, just what you wan on your avatar. Need More??


No longer the need to hand out links, to (most) everyone in the instance!

  • Global (Main Menu) Radial Controls for Intensity and Duration (VRCOSC Limitation). (Saved)

Each PiShock's Menu:

  • Toggle On/Off (Show/Hide)
  • Toggle between Shock or Vibrate when touched. (Saved)
  • Toggle with 10second Cooldown (Saved)
    Adjustable within the animation layer. Looking into control within game or easier in Unity.
  • Touch and Beep to confirm OSC Communication.
  • Prop not required, can go without, or replaced, without harm to the setup.
  • No Parameters! That's Right! It's All Local!
    Latency touch issues? In each Touch-PiShock Prefab's folder, Parameters File has a Touch Parameter, tick on Sync. 1 Parameter Point per PiShock (Boolean).

Radial Menu text, "Vibrate=Off - Shock=On" formatted better in VRChat.


Multi-purpose, any Avatar or Prop can be used.
Designed around, and suggested to use, Lolatron's PiShock model, found https://lolatron.gumroad.com/l/PISHOCK (Also Free!).

  • If you enjoy Lolatron's Pishock Model, please consider paying for it!
    Looks great, and has far more available than what's used here (strap not used with this prefab, just the PiShock and Spacer).


As always: Backup your project before making changes.

Mistakes happen. Not all things that break can be explained, not all things can be as easily repaired. Backups are like game checkpoints.

I'm not responsible if somehow your avatar is broken. With or without VRCFury, these templates do not alter your avatar outside of adding more features.

Duplicate your avatar, disable the original, and import the prefabs on the cloned avatar. OR, backup your project entirely!


Installation:

Can be used anywhere on the avatar. Just...

  1. Import VRCFury. https://vrcfury.com/
    I may make a non-VRCFury version in the future, setup without is otherwise simple.
  2. (Suggested) Import Lolatron's model, preferably first. Or import Touch-PiShock Full package for both!
    No special shaders required, current build used Poiyomi (8+) Toon. Prior was Unity "Standard".
  3. Import Touch-PiShock.

Then...

  1. Add each Touch-PiShock Prefab to your avatar root (FIRST!).
    Include the Touch-PiShock_MainMenu to the root. Without it, you will have NO Duration or Intensity controls.
  2. Drag each Touch-PiShock## to your preferred locations on the armature.
  3. Resized and rotate as you see fit.

Image slightly dated, concept still exactly the same.

Setup to use along side VRCOSC: https://github.com/VolcanicArts/VRCOSC to communicate OSC from VRChat, to PiShock. Follow their guide to link your PiShock account/device to VRCOSC.

  • Credit to VRCOSC of their own menu setup.
  • Future plans of Touch-PiShock to account for PiShock Groups.

Further instructions included with download.


Questions:

Don't like the prop? Want to use your own? No Problem!

  • While within Touch-PiShock Prefab, remove the objects under "Props Here", then add what you want, and adjust as needed.

The touch area, the Contact Receiver, too small/big for the new prop?

  1. Under the root of the Prefab, select "Touch-PiShock## (VRCFury)"
  2. Under "VRC Contact Receiver (Script)" adjust the Shape area as you see fit.
    You will manually decide Sphere or Capsule of the "Shape Type", and adjust the floats of the Radius, Position, and Rotation. (Green Marks)

Green marks for question above, Red marks for question below.

Need other Collision Detections, besides Finger/Hand?

  • Under the Red area (above), select the drop downs to swap, or select the area near the drop downs to then select Delete, or Add to include other areas.

How do you change the Cooldown time?

  • Dev Note: I'm working through an easier, per Touch-PiShock, Radial Control for the time

  1. Within the FX file (Animation Layer file), select the line with three Arrows pointing to "Start" from "Reset.
  2. Select the Second listing to the right under Transitions. Below that, Expand "Settings" if needed, and change 10 to how many seconds you wish.
  3. (Optional) though suggested for QoL, update the respective Menu file, Menu-Touch-PiShock##_Controls, rename "10Second Cooldown" menu listing, Only the Name of the menu listing, to show the seconds, or just rename to "Cooldown".
    Do not rename the Parameters themselves, unless you know what you are doing!

Image slightly dated, concept is still identical. Difference is parameters ending in the respective prefab's number.

Prefab is on the avatar, it's displaying, but Beep/Vibrate/Shock doesn't work?

VRCFury error about one or more parameter issue?

  • This has come up a few times since I extended to 6 Touch-PiShocks. Unable to reproduce on command.
    Other than user error on my part, saving and restarted Unity has resolved the issues.

Public test avatar?


Other Notes:

OSC Parameters:

  • VRCOSC/PiShock/Duration (Global)
  • VRCOSC/PiShock/Intensity (Global)
  • VRCOSC/PiShock/Shock/*
  • VRCOSC/PiShock/Vibrate/*
  • VRCOSC/PiShock/Beep/*


Refunds? None. Purely digital content. Nothing unique or special.
This was created with knowledge and experience, mind the learning, troubleshooting, and time spent.
I take no responsibility if this, some how, causes damage to your project, avatar, or a PiShock mishap. Backup your project, and practice safe PiShock habits.

Avatars in screenshots:

FREE
This price may be different on the official website.
VRCFury Ready