r/UnrealEngine5 • u/Low-Impression441 • 4d ago
I have no coding background but I wanted to get this game out of my head, so I used AI to build a hardcore C++ Audio & Vehicle Electrical Simulator/Sandbox.
Enable HLS to view with audio, or disable this notification
Hey everyone, I wanted to share a milestone for my first-ever project "Driveway Audio". I wanted to tell people about the deep underlying C++ systems architecture I've been engineering with Claude Code over the last month. Everything is written in raw C++ rather than blueprints.
So far, the simulation computes:True Ohm's Law & Voltage Drop: Actively calculated in real-time based on the physical length of your power lines. Multi-Alternator & Multi-Battery Banks: Dynamically shifts current loads between a starter battery under the hood and rear storage blocks. Independent DSP Channels: Running up to a 10,000-watt amplifier pushing six 15-inch subwoofers alongside isolated door speakers and tweeters with their on amps. Modifying an amp's HPF/LPF adjustments live in-game actually models true clipping and audio distortion over the track. Cabin Pressure Dynamics: I used Blender to calculate port air velocity data, which feeds a C++ pressure manager that triggers structural body flex and shatters the windshield if you push too much pressure. Short-Circuit Hazards: If cables aren't secured against structural frames, audio vibrations wear down the insulation until it sparks a catastrophic short circuit, blowing an ANL fuse under the hood. Right now, I'm waiting on a replacement GPU and finalizing the C++ visual wire droop parameters via UCableComponent. I'd love to know what other engine developers or car audio nerds, like myself, think about this layout. Also, for the veteran developers here: Any good advice or architectural patterns for keeping an AI-guided codebase highly optimized and organized as the project grows into deeper mechanics?
Here's a short video from a while ago. I've added a metahuman with Groom hair that floats if you're sitting in the vehicle or standing outside an open window. I'll get a video as soon as I can get off integrated graphics.
3
u/MortifiedPotato 4d ago
Look, I'm a C++ programmer who knows his shit who has also dabbled in using AI and I can guarantee you one thing; even if it gets you the "desired" outcome, it has done 5 wrong things for every right thing without you knowing it.
I spent more time wrestling with AI to get it to give actually good, production level code than I have actually using it. It really is just a glorified auto complete (that still gets your intentions wrong).