ParelVRDocs
Player site

Creators / Avatars

Contacts

Make your avatar react to touch: headpats, boops, high fives and anything else.

A Contact Sender is a shape that can touch. A Contact Receiver is a shape that notices the touch and sets parameters. Shapes are spheres, capsules or boxes.

The quick way: presets#

Add a Contact Receiver and pick a preset: Headpat, Boop, Hug, High Five, Stomp or Hand Touch. It places the receiver on the right bone with the right shape and settings. Then press the button that adds its parameters to your FX controller.

ParelVR avatars already carry senders on the head, hands, fingers and feet, so your receivers react to other players straight away.

What a receiver can set#

One receiver can drive many parameters:

Output Value
Main parameter Constant (on while touched), On Enter (a pulse) or Proximity (closer is higher).
Touching True while touched.
Entered, Exited A pulse when a touch starts or ends.
Proximity 0 to 1, how close the touch is.
Count How many senders touch it.
Taps A counter that goes up with every touch.
Speed How fast the touch came in.
Direction X / Y / Z Where it was touched from.
From Self, From Others Who touched it.

Use + Also set to add outputs.

Useful settings#

  • Hold: pulses stay on for a moment (0.1 s by default), so animators and other players never miss them.
  • Smoothing: glides proximity, speed and direction.
  • Min touch speed: ignore slow touches, for taps and boops.
  • Active When: the contact only exists while an avatar parameter is on.
  • From: react to other avatars, the world's own senders, or both.
  • Haptics: the toucher's controller vibrates.

In worlds#

A receiver in a world calls On Contact Enter and On Contact Exit, which you wire to a VoltCS method like a UI button.