About Store Forum Documentation Contact



Post Reply 
Game::World.path()
Author Message
Houge Offline
Member

Post: #1
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Post Reply