载入中...
搜索中...
未找到
Independent local interaction policy, copied into Crowd storage. 更多...
#include <Crowd.h>
Public 属性 | |
| float | pushability = 1.f |
| Relative contact mobility in [0,1]; zero cannot be pushed by agents. | |
| bool | holdPosition = false |
| Suppress locomotion and agent pushes; terrain constraints still apply. | |
| int | layer = 1 |
| Non-negative membership bit mask; zero disables agent interaction. | |
| int | mask = 0x7fffffff |
| Both agents must accept the other's layer for interaction. | |
详细描述
类成员变量说明
◆ holdPosition
| bool eve::crowd::AgentInteraction::holdPosition = false |
Suppress locomotion and agent pushes; terrain constraints still apply.
◆ layer
| int eve::crowd::AgentInteraction::layer = 1 |
Non-negative membership bit mask; zero disables agent interaction.
◆ mask
| int eve::crowd::AgentInteraction::mask = 0x7fffffff |
Both agents must accept the other's layer for interaction.
◆ pushability
| float eve::crowd::AgentInteraction::pushability = 1.f |
Relative contact mobility in [0,1]; zero cannot be pushed by agents.
该结构体的文档由以下文件生成:
- src/modules/crowd/Crowd.h