载入中...
搜索中...
未找到
eve::crowd::AgentInteraction结构体 参考

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.
 

详细描述

Independent local interaction policy, copied into Crowd storage.

在文件 Crowd.h 第 56 行定义.

类成员变量说明

◆ holdPosition

bool eve::crowd::AgentInteraction::holdPosition = false

Suppress locomotion and agent pushes; terrain constraints still apply.

在文件 Crowd.h 第 58 行定义.

被这些函数引用 eve::crowd::Crowd::setAgentInteraction().

◆ layer

int eve::crowd::AgentInteraction::layer = 1

Non-negative membership bit mask; zero disables agent interaction.

在文件 Crowd.h 第 59 行定义.

被这些函数引用 eve::crowd::Crowd::setAgentInteraction().

◆ mask

int eve::crowd::AgentInteraction::mask = 0x7fffffff

Both agents must accept the other's layer for interaction.

在文件 Crowd.h 第 60 行定义.

被这些函数引用 eve::crowd::Crowd::setAgentInteraction().

◆ pushability

float eve::crowd::AgentInteraction::pushability = 1.f

Relative contact mobility in [0,1]; zero cannot be pushed by agents.

在文件 Crowd.h 第 57 行定义.

被这些函数引用 eve::crowd::Crowd::setAgentInteraction().


该结构体的文档由以下文件生成: