Setting scale of the player confuses NPC pathfinding
As player physical half extents were used for NPC pathfinding agents (for optimization) during recastnavigation implementation, when they change, like in the case of player->setscale
, pathfinding freaks out since there is no longer a cached actor with the given half extents:
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5
Error during AiSequence::execute: Agent with half extents is not found: 87.84 85.44 199.5