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 Displayin 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, slant0, digit size0.9, spacing0.036, symbol placement Left of the digits, and symbol spacing0.03.
How to add
Adding a body display
- Click Add next to Display objects in the Core inspector and choose Body display.
- On humanoid avatars, the display width is automatically sized to
0.45times the distance from the Head bone toView Position(non-humanoid avatars keep the default size). - 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 Hairpinprefab from the Project window directly under the avatar root. This prefab includes its ownHR-OSC CoreandMA 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.
![]()
Placement
![]()
| Setting | Description |
|---|---|
| Attachment bone | Humanoid bone the display attaches to on upload (default Head). |
| Attachment target object | Attach to a specific object inside the avatar instead of a bone. Assigning this disables Attachment bone. |
| Reset placement | Suggests 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.
Applying a preset keeps your current Font, Symbol image, When disconnected, Avatar lighting, Resolution, and Horizontal bend angle.
![]()
Font and color · Layout
| Setting | Default | Description |
|---|---|---|
| Show digits | On | Turn off to draw only the symbol and wave without digits. |
| Font | LegacyRuntime | TTF 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 | #F53B42 | Fill color of the digits. |
| Alignment | Right | Choose Left, Center, or Right. |
| Digit size | 0.9 (0.25–2) | Scales the digits. |
| Digit count | 3 (1–3) | Number of digits shown. |
| Leading zeros | On | Pads unused leading digit slots with 0. |
| Spacing | 0.036 (-0.1–1) | Gap between digits. |
| Slant | 0 (-0.5–0.5) | Horizontal italic slant of the digits. |
| Horizontal bend angle | 0 (-180–180) | Body displays using the default Quad only. Positive values bend edges backward; negative values bend them forward to follow the cheek curve. |
Verify that any font you import allows embedding into an avatar texture and distribution. Most SIL Open Font License fonts allow this.
Symbol
| Setting | Default | Description |
|---|---|---|
| Symbol placement | Left of the digits | Where 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 spacing | 0.03 (0–1) | Empty width between the digits and the symbol. |
| Symbol image | Empty (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 | #F53B42 | Color multiplied into the symbol image. White preserves the image's original colors. |
| Symbol size | 1 (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 motion | Pulse with the beat | Pulse with the beat grows and shrinks with each beat; Static stays still. |
Outline · Emission · Neon
| Setting | Default | Description |
|---|---|---|
| Outline | Off | Outlines digits, opaque parts of the symbol image, and the wave. |
| Outline color / Outline width | Black / 0.03 (0–0.2) | Color and thickness of the outline. |
| Emission | 0.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 neon | Off | Draws a neon glow around digits and wave. Does not apply to the symbol image. |
| Glow color / Glow radius | Pink / 0.12 (0.005–0.2) | Color and radius of the neon glow. Small font glyphs limit the maximum radius. |
| Core brightness / Beat brightness | 1.5 (0–4) / 0.2 (0–1) | Center glow intensity and brightness boost on each beat. |
| Neon off when offline | On | Turns 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.
![]()
| Setting | Default | Description |
|---|---|---|
| Wave placement | None | Where to place the wave relative to the digits. |
| Wave size | (3, 0.8) | Width and height of the wave box. |
| Wave spacing / Wave offset | 0.05 / (0, 0) | Gap from digits and additional offset. |
| Waveform | ECG | Choose ECG, Sine, or Square. |
| Wave color | Green | Line color. With range colors enabled, switches to Low and High colors along with the digits. |
| Beats shown | 3 (0.5–8) | Number of beats displayed across the wave box. |
| Tail length | 0.8 (0.05–1) | Fraction of the box width over which the line fades out behind the head. |
| Line width | 0.05 (0.005–0.1) | Thickness of the wave line. |
| Grid / Grid color | Off / Translucent green | Draws a background grid inside the wave box (cell size is one-fifth of box height). |
Effects
![]()
| Group | Setting | Default | Description |
|---|---|---|---|
| BPM range colors | Use range colors | Off | Changes digit and wave colors by BPM range. |
| BPM range colors | Low color below / Low color | 60 / Blue | Color used below this BPM. |
| BPM range colors | High color from / High color | 120 / Red | Color used at or above this BPM. |
| Avatar lighting | Reference material | Auto | Leave empty to pick the most frequent supported material (lilToon, Poiyomi Toon) on the avatar and import its brightness limits and first shadow settings. |
| Avatar lighting | Lighting influence on neon | 0 (0–1) | How much avatar lighting affects the neon glow. |
Advanced
![]()
Display area
| Setting | Description |
|---|---|
| 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 content | Saves 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 margin | Extra width beyond the default digit area, filled in by Fit to content. |
Font texture
| Setting | Default | Description |
|---|---|---|
| Weight | 0 (-0.05–0.05) | Thickens or thins font strokes. |
| Padding | 0 (0–0.25) | Shrinks glyphs inward within each texture cell. |
| Resolution | Auto (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. |
Menu
| Setting | Description |
|---|---|
| Enabled | Turn off to exclude this display from the upload. |
| Menu label | Name of the Expression Menu toggle. |
| Include toggle in menu | Turn off to omit a menu toggle for this display. |
| Save toggle across worlds | Keeps the toggle state when changing worlds. |
| Default on | Starts visible when the avatar is first loaded. |
| Parameter namespace | Toggle 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.
| Option | Behavior |
|---|---|
| Show --- (default) | Shows --- in place of the digits. |
| Hide | Disables the renderer to hide the display. |
| Keep the last value | Freezes the last digits and wave (neon also stays on). |
| Continue at the last BPM | Keeps showing and beating at the last received BPM. Before the first connection, there is no last BPM so --- is shown. |
| Continue at a set BPM | Keeps 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.
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 Proxydirectly 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).