Better HN
topnewbestaskshowjobs
Log inSign up

kriper

23 karma · joined Jan 18, 2024 (2y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

You need physics in order to make movement server authoritative. Otherwise player will be able to fly around and ignore collusions. You might need animation state in server if you are making a fps shooter and want to calculate raycasts properly.

comment 1y ago · link · parent

How would you simulate physics, pathfinding, animation state on the server using this tech? Do you have to ditch your engine (do I have to reimplement what unity/unreal gives me for free?) ?

comment 1y ago · link · parent

I don't really understand how you would write a game server using this tech. Lets say you need to simulate physics, pathfinding, animation etc on server. How one would integrate all of this? In regular world you just use unreal/unity headless mode that includes all of this but using spacetimedb requires ditching the game engine and reimplementing everything from scratch?

comment 1y ago · link · parent

Does it mean that if I have a physics engine written in c++ and want to use it on the server I have to compile it to web assembly?

comment 2y ago · link · parent

in C# it's basically automatic https://github.com/microsoft/coyote/