| 272 | } |
| 273 | |
| 274 | void NavMeshAgent::setAutoTraverseOffMeshLink(bool isAuto) |
| 275 | { |
| 276 | if (_crowd && isOnOffMeshLink()) |
| 277 | { |
| 278 | auto agentAnim = _crowd->getEditableAgentAnim(_agentID); |
| 279 | if (agentAnim) |
| 280 | { |
| 281 | agentAnim->active = isAuto; |
| 282 | } |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | void NavMeshAgent::stop() |
| 287 | { |