BodyDrive Gaze
BodyDrive Gaze brings lifelike, head and eye tracking to Virt-A-Mate. Instead of rigidly forcing the head toward a target cinematically, the plugin drives the head using real torque (PID controller) combined with smart environment awareness, natural gaze shifts, and a dedicated blink engine.
Head Tracking & Flexible Anchor System
- PID Physics Control: Moves the head via torque instead of hard rotations—complete with adjustable P/I/D gains, smoothness, speed limits, deadzones, and anatomical rotation limits.
- Selectable Reference Anchor: Freely choose between Chest, Neck, Abdomen, Hip, or Pelvis as your reference point. Ideal for walking or dancing animations: using the hip or pelvis as an anchor keeps the head steady on the target instead of unnaturally snapping side-to-side with every upper-body movement.
- Seamless User Interaction: As soon as you grab or select the head in VR or on desktop, the plugin automatically pauses, restores the normal rotation spring, and smoothly adopts the new base pose once you let go.
Smart Targeting, Line of Sight & Mirrors
Real Mirror Reflections: If the main target moves out of view or becomes obstructed, the plugin detects active mirrors in the scene and lets the character realistically maintain eye contact through the reflection.
Line-of-Sight (Obstacle Detection): Automatically checks if objects are blocking the view (while smartly ignoring hair, clothing, and lights).
Fallback FOV & Randomize Mode: When the main target leaves the field of view, the character automatically picks a fallback target within a configurable FOV cone. Optionally, Randomize Mode switches the main target at variable intervals.
Search Filters: Comma-separated filters for main and glance targets keep target selection fast and organized.
Natural Gaze Dynamics & Precise Eye Control
- Macro Glance System: Lets the character believably look away from time to time—featuring occasional double glances, delayed head return, anti-spam memory, and adjustable head tracking weight.
- Saccades (Micro-Movements): Subtle, irregular micro-movements for both head and eyes eliminate the unnatural "dead stare."
- Squint Protection & Eye Offsets: Configurable minimum focus distance to prevent cross-eyed squinting, plus separate or linked Pan/Tilt offsets for the left and right eye.
Custom Blink Engine & Morph Protection
- Procedural Blinking: Optionally replaces default blinking with a custom engine offering variance for interval, speed, hold duration, and eyelid closure—including realistic double, triple, and saccadic blinks during gaze shifts.
- Auto-Blink Stop (Custom & Default VaM): Monitors user-defined morphs (e.g., closed eyes during facial expressions) and automatically pauses blinking above a configurable threshold. Works with both the Custom Blink Engine and default VaM blinking.
UI & Presets
- Clean 4-Tab Interface: Neatly organized into General, Head, Eye, and Blink.
Preset System & Debug Tools: Save and load custom JSON presets (including automatic thumbnail screenshots), monitor the current tracking mode via a live status display, and toggle debug eye lasers.
I hope you have fun, and as always, let me know if you have any problems or requests.
Bplus
Development Note: The C# code for this plugin was created with the assistance of AI tools; concept, design, in-engine testing, and fine-tuning were done by me.