Houge
Member
|
Game::World.path()
Hi, I just wanted to ask if the following functions are deterministic (will always return the same results with the same input), because I want to run them, for example, on Client and on Server, transferring only inputs over network.
Code:
Bool Game::World.path().find(...)C;
Bool Game::World.path().nearestSurface(...)C;
Thanks!
(This post was last modified: 03-12-2020 03:47 AM by Houge.)
|
|
03-12-2020 03:47 AM |
|
Esenthel
Administrator
|
RE: Game::World.path()
nearestSurface I think it could always return the same result.
as for 'find', it's possible too, but I can't really tell because all of this is operated by recast/detour library, so to be sure you could ask on that project website
https://github.com/recastnavigation/recastnavigation
|
|
03-13-2020 04:41 AM |
|