MengeCrowdSim / Menge

The source code for the Menge crowd simulation framework
Apache License 2.0
138 stars 64 forks source link

C-api reports only 2D positions and velocities #55

Open MengeCrowdSim opened 7 years ago

MengeCrowdSim commented 7 years ago

When using the c-api, the getAgentPosition and getAgentVelocity methods take parameters for vectors in R^3, but the y-component is always zero. This is fine for simulations on the plane, but doesn't work for 3D heightfields or navigation meshes. The function needs to take the elevation into account.