📖 About the Project
This VR project integrates real-time heart rate feedback into gameplay, making enemy AI adapt dynamically to the player’s physiological state. Using a Polar H10 heart rate monitor, Python WebSocket streaming, and Unreal Engine, the system creates a personalized and immersive experience where enemies react to stress, fear, or calmness in real time.
🎮 Key Features
Heart Rate Integration (Polar H10 + Pulsoid API)
-
Python → Unreal Engine Data Pipeline (Selenium + WebSocket)
-
Adaptive AI Behavior Tree
-
Passive (<80 bpm)
-
Light Attack (80–100 bpm)
-
Heavy Attack (>100 bpm)
-
-
AI Hearing Perception for player-generated noise
-
Near Real-Time Responsiveness (<1s latency)
⚙️ Tech Stack
-
Engine: Unreal Engine 5.4
-
Languages: C++ & Blueprints
-
Integration: Python (Selenium, WebSocket, JSON)
-
Hardware: Polar H10 Heart Rate Monitor
-
Tools/Assets: Pulsoid API, Mixamo Animations, Infinity Blade: GrassLands
📂 Workflow
-
Heart Rate Capture – Polar H10 streams data via Pulsoid.
-
Python Processing – Data scraped, converted to JSON, sent over WebSocket.
-
Unreal Engine Receiver – JSON deserialized and passed to Enemy AI Controller.
-
Behavior Tree Updates – AI shifts between Passive, Light Attack, and Heavy Attack states.
-
Gameplay Response – Enemies adapt in real time to reflect the player’s physiology.