mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 13:56:00 +00:00
Added userData pointer for dtCrowdAgent.
This commit is contained in:
@@ -325,6 +325,7 @@ void CrowdTool::handleClick(const float* s, const float* p, bool shift)
|
||||
{
|
||||
// Add
|
||||
dtCrowdAgentParams ap;
|
||||
memset(&ap, 0, sizeof(ap));
|
||||
ap.radius = m_sample->getAgentRadius();
|
||||
ap.height = m_sample->getAgentHeight();
|
||||
ap.maxAcceleration = 8.0f;
|
||||
|
||||
Reference in New Issue
Block a user