Skip to main content

Body display & hairpin

Overview​

  • Body display draws digits, a symbol (the default heart or a custom image), and a flat wave on a surface attached to your avatar, such as a cheek. Cheek Display in the default prefab is a body display.
  • Hairpin is a body display paired with a decorative hairpin model (Hairpin Model) and display plane (Hairpin Display) attached to the head.
  • Newly added body displays and hairpins default to red digits and heart (#F53B42), Unity's built-in font (LegacyRuntime), outline off, slant 0, digit size 0.9, spacing 0.036, symbol placement Left of the digits, and symbol spacing 0.03.

How to add​

Adding a body display​

  1. Click Add next to Display objects in the Core inspector and choose Body display.
  2. On humanoid avatars, the display width is automatically sized to 0.45 times the distance from the Head bone to View Position (non-humanoid avatars keep the default size).
  3. Move the object onto the cheek in the Scene view. To place displays on both cheeks, add another one or use More (⋮) › Duplicate on the display page.

Adding a hairpin​

  • Avatar that already has an HR-OSC Core: Click Add next to Display objects in the Core inspector and choose Hairpin.
  • Starting with a hairpin only: Drag the HR-OSC Hairpin prefab from the Project window directly under the avatar root. This prefab includes its own HR-OSC Core and MA Menu Installer, so use Add › Hairpin instead if your avatar already has a Core.

Common settings​

Click an entry in Display objects on the Core inspector to open its settings pages.

Body display settings overview

Placement​

Placement page

SettingDescription
Attachment boneHumanoid bone the display attaches to on upload (default Head).
Attachment target objectAttach to a specific object inside the avatar instead of a bone. Assigning this disables Attachment bone.
Reset placementSuggests an initial position relative to the attachment bone or target. Does not change scale.
Replace decorative model(Model section) Replaces the hairpin decoration with another model, preserving the previous decoration's local position, rotation, and scale.
Select decorative model(Model section) Selects the decorative model object in the Hierarchy.

Adjust position, rotation, and scale directly on the handle object in the Scene view. At build time, the handle keeps its world position and rotation when attached under the target.

Digits, symbol & emission​

At the top, Design presets lets you apply built-in presets (Simple digits, Pink heart), or use Save current design and Export preset.

Settings preserved when applying presets

Applying a preset keeps your current Font, Symbol image, When disconnected, Avatar lighting, Resolution, and Horizontal bend angle.

Digits, symbol & emission page

Font and color · Layout

SettingDefaultDescription
Show digitsOnTurn off to draw only the symbol and wave without digits.
FontLegacyRuntimeTTF or OTF font. Leave empty to draw seven-segment digits.
Get fonts—Links to Google Fonts, Monospace fonts, Noto, DSEG, and SIL Open Font License.
Digit color#F53B42Fill color of the digits.
AlignmentRightChoose Left, Center, or Right.
Digit size0.9 (0.25–2)Scales the digits.
Digit count3 (1–3)Number of digits shown.
Leading zerosOnPads unused leading digit slots with 0.
Spacing0.036 (-0.1–1)Gap between digits.
Slant0 (-0.5–0.5)Horizontal italic slant of the digits.
Horizontal bend angle0 (-180–180)Body displays using the default Quad only. Positive values bend edges backward; negative values bend them forward to follow the cheek curve.
Font licenses

Verify that any font you import allows embedding into an avatar texture and distribution. Most SIL Open Font License fonts allow this.

Symbol

SettingDefaultDescription
Symbol placementLeft of the digitsWhere to place the symbol relative to the digits (10 options including None).
Symbol offset(0, 0)Shifts the symbol further from the chosen placement.
Symbol spacing0.03 (0–1)Empty width between the digits and the symbol.
Symbol imageEmpty (default heart)Texture drawn in the symbol slot. Leave empty to use the package's default heart image. The symbol box tightly wraps only the opaque pixels and follows their aspect ratio.
Symbol color#F53B42Color multiplied into the symbol image. White preserves the image's original colors.
Symbol size1 (0.25–2)Scales the symbol height. At 1, the resting symbol matches the current digit height, so changing Digit size also scales the symbol.
Symbol motionPulse with the beatPulse with the beat grows and shrinks with each beat; Static stays still.

Outline · Emission · Neon

SettingDefaultDescription
OutlineOffOutlines digits, opaque parts of the symbol image, and the wave.
Outline color / Outline widthBlack / 0.03 (0–0.2)Color and thickness of the outline.
Emission0.2 (0–4)Brightness added to lighting. While neon is on, digits and wave use neon brightness instead, while the symbol image always uses this value. Disabled when Neon off when offline is off and no symbol is shown.
Enable neonOffDraws a neon glow around digits and wave. Does not apply to the symbol image.
Glow color / Glow radiusPink / 0.12 (0.005–0.2)Color and radius of the neon glow. Small font glyphs limit the maximum radius.
Core brightness / Beat brightness1.5 (0–4) / 0.2 (0–1)Center glow intensity and brightness boost on each beat.
Neon off when offlineOnTurns neon off while disconnected (including while continuing at the last or a set BPM).

Wave​

Draws a flat heart rate waveform next to the digits. Turn off Show digits to create a wave-only panel.

Wave page

SettingDefaultDescription
Wave placementNoneWhere to place the wave relative to the digits.
Wave size(3, 0.8)Width and height of the wave box.
Wave spacing / Wave offset0.05 / (0, 0)Gap from digits and additional offset.
WaveformECGChoose ECG, Sine, or Square.
Wave colorGreenLine color. With range colors enabled, switches to Low and High colors along with the digits.
Beats shown3 (0.5–8)Number of beats displayed across the wave box.
Tail length0.8 (0.05–1)Fraction of the box width over which the line fades out behind the head.
Line width0.05 (0.005–0.1)Thickness of the wave line.
Grid / Grid colorOff / Translucent greenDraws a background grid inside the wave box (cell size is one-fifth of box height).

Effects​

Effects page

GroupSettingDefaultDescription
BPM range colorsUse range colorsOffChanges digit and wave colors by BPM range.
BPM range colorsLow color below / Low color60 / BlueColor used below this BPM.
BPM range colorsHigh color from / High color120 / RedColor used at or above this BPM.
Avatar lightingReference materialAutoLeave empty to pick the most frequent supported material (lilToon, Poiyomi Toon) on the avatar and import its brightness limits and first shadow settings.
Avatar lightingLighting influence on neon0 (0–1)How much avatar lighting affects the neon glow.

Advanced​

Advanced page

Display area​

SettingDescription
Layer order (front first)Controls which element draws in front where digits, symbol, and wave overlap (default Symbol › Wave › Digits, 6 combinations; enabled when at least two elements are shown). Outlines, neon, and the wave grid move with their element. Applies within a single display only.
Fit to contentSaves the current bounding area around digits, symbol, and wave as margins. Click this when the display area widens beyond the margins so changing the symbol or wave stops resizing the digits.
Left margin · Right margin · Top margin · Bottom marginExtra width beyond the default digit area, filled in by Fit to content.

Font texture​

SettingDefaultDescription
Weight0 (-0.05–0.05)Thickens or thins font strokes.
Padding0 (0–0.25)Shrinks glyphs inward within each texture cell.
ResolutionAuto (512 × 1024)Font atlas size. Approximate texture memory including mipmaps: 256 × 512 ~0.2 MB, Auto (512 × 1024) ~0.7 MB, 1024 × 2048 ~2.8 MB, 2048 × 4096 ~11 MB.
SettingDescription
EnabledTurn off to exclude this display from the upload.
Menu labelName of the Expression Menu toggle.
Include toggle in menuTurn off to omit a menu toggle for this display.
Save toggle across worldsKeeps the toggle state when changing worlds.
Default onStarts visible when the avatar is first loaded.
Parameter namespaceToggle parameter namespace. Displays sharing a namespace share one toggle (Expression Menu).

When disconnected​

Choose how the display behaves while the heart rate app is disconnected under Menu › When disconnected.

OptionBehavior
Show --- (default)Shows --- in place of the digits.
HideDisables the renderer to hide the display.
Keep the last valueFreezes the last digits and wave (neon also stays on).
Continue at the last BPMKeeps showing and beating at the last received BPM. Before the first connection, there is no last BPM so --- is shown.
Continue at a set BPMKeeps showing and beating at Set BPM (default 70, range 1–255; capped at Max heart rate).

Selecting Continue at a set BPM reveals two additional fields:

  • Set BPM: BPM to beat at while disconnected. Digits and BPM range colors reflect this value.
  • Adjust in menu: Turns this entry into a submenu containing its Toggle and an Offline BPM radial. Uses 8 extra synced bits and syncs in 127 steps (approximate BPM). Requires Include toggle in menu.
When BPM is 0

While connected with a reading of 0 BPM, the beat stops and the display shows 0.

Notes and limits​

  • Turning off Show digits while both Symbol placement and Wave placement are None causes a build error (error.digitsNothingShown).
  • Do not add MA Bone Proxy directly to a display handle (error.handleBoneProxy). Remove it and assign the target to Attachment target object instead.
  • If font digits are too small for the chosen Outline width, the inspector shows a warning and only the digit outline thins to fit the atlas; symbol and wave outlines keep their full configured width.
  • Horizontal bend angle does not check for skin clipping automatically; check clearance in the Scene view.
  • Under BPM range colors, setting Low color below equal to or greater than High color from hides the base color and raises a build warning (warning.rangeOrder).