News for hackers. Stuff that matters.
Re:SpacetimeDB by Psyferio on Wednesday April 09, 2025 @05:20PM (#43638135)
I am contributing to a project by a SpacetimeDB community member to get Rapier running within Unity. Instead of trying to get Unity PhyX running on the server, we just use a deterministic Rust physics engine on both client and server. It is a mostly complete drop in replacement as it stands and is deterministic (Unity's PhyX is not). We'll keep improving it!

https://github.com/Daxode/rapier4unity

Re:SpacetimeDB by manas96 on Wednesday April 09, 2025 @06:43PM (#43638815)
That's great, especially the deterministic part. Did you run into determinism problems with two different CPU architectures for server and client?
Re:SpacetimeDB by Psyferio on Wednesday April 09, 2025 @09:20PM (#43639720)
We rely on the guarantees of Rapier's determinism. I haven't done extensive testing on the determinism claim yet, but it has held up so far. https://rapier.rs/