Here is the list of things to change in the new physics integration rewrite to support better Lua and sync with clients :
[x] - Use an FPhysObj for easier physics usage and better integration with Lua.
[x] - Block physics client side, only allowed server side (but keep collisions on both server and client.
[x] - Improve physics sync simulation quality (remove crazy infinit rotations), try to reduce a bit latency.
[ ] - Sync using Uneliable RPCs instead of variable replication (to reduce overheat).
[ ] - Additionaly try syncing angle velocity and object velocity for smoother simulation client side.
[ ] - Implement a PhysSyncRate in UMod.Server.cfg under Common category.
[x] - Move all server side physics manipulation (velocity change, angle velocity change, gravity scale change, toggle gravity, mass scale change) to FPhysObj.
[x] - Add a GetPhysicsObject function in EntityBase to have an API integrating better with GMod.
[x] - Add an AddPhysicsObject function in EntityBase to initialize physics on the entity (in replacement for SetPhysicsEnabled(bool b)).
Here is the list of things to change in the new physics integration rewrite to support better Lua and sync with clients :