Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Randomness in solvers
#4
(30-09-2024, 04:01 PM)aivenhoe Wrote: hi jose,

thanks for your response!

when syncing the state from a server to the client, is it possible to disable the solver logic on the clients and just render the softbody using the particles recieved from the server (+ some custom interpolation to cover the time between recieving new data)?

We found that setting "Max Steps Per Frame" to 0 stops the simulation, is this the intended way? 

Yes, just set the solver's "max steps per frame" to zero. This will keep rendering but stop performing any physics updates.


 
(30-09-2024, 04:01 PM)aivenhoe Wrote: Also our thought was to only sync the particle positions and not all the associated other data like velocity, torque etc and instead use the saved bandwidth to sync the position more often and then interpolate between the recieved data. does this sound like a reasonable approach to you? 
 
Yes, but you might want to use dead reckoning/extrapolation instead. Interpolating data means your interpolated position will always be behind the latest received data, which may be detrimental to gameplay.

kind regards,
Reply


Messages In This Thread
Randomness in solvers - by aivenhoe - 26-09-2024, 10:55 AM
RE: Randomness in solvers - by josemendez - 26-09-2024, 11:32 AM
RE: Randomness in solvers - by aivenhoe - 30-09-2024, 04:01 PM
RE: Randomness in solvers - by josemendez - 07-10-2024, 12:13 PM