Replies: 1 comment 3 replies
-
Hey! There are 200 agents in that sketch: https://github.com/isaac-mason/sketches/blob/main/src/sketches/recast-navigation/busy-street-crossing/index.sketch.tsx#L84 I haven't done much thorough profiling, but from a quick check on chome devtools just now, crowd updates are taking ~0.5-1ms in that sketch. I should note though that the crowd agent avoidance does break down with many nearby agents. Detour by default only considers up to 6 other agents for steering decisions: https://github.com/isaac-mason/recastnavigation/blob/599fd0f023181c0a484df2a18cf1d75a3553852e/DetourCrowd/Include/DetourCrowd.h#L32 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It wasn't obvious to me where you specify the number of agents.
Is it consistent with this circa 2015 post claiming "more than 5ms for 30 agents on a mobile"?
Beta Was this translation helpful? Give feedback.
All reactions