Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.55 KB

readme.md

File metadata and controls

18 lines (12 loc) · 1.55 KB

Unity BepuPhysics InterProcessCommunication

This is a proof of concept showing bepu physics running in a separated process, sending data to unity for render Using named pipe for rpc/synchronization and memory mapped file for transferring data

How to run

  1. Move Assets/Src folder somewhere outside the assets folder before opening unity editor, so the nuget package manager can compile and resolved required packages
  2. Move the stuff back after unity editor finished opening with no error
  3. Open Sim/Sim.sln and build the solution in release config (or debug if you check the debug switch in unity)
  4. Play in Unity

Controls

  • Left click to shoot ball, which is rendered as brick, because everything is renderer as scaled cube regardless of their physical shape
  • Press R to reset simulation
2024-11-19.22-46-03-1.mp4