Hi,
When running this sample: Scenes > Examples > Example_08_SPHFluidParticles I get an "IndexOutOfRangeException: Index was outside the bounds of the array" coming from here:
m_sofaMeshAPI.GetRawPositions(m_vertexBuffer);
for (int i = 0; i < m_nbVertices; ++i)
{
if (m_meshDim > 2)
-> m_unityVertices[i] = new Vector3(-m_vertexBuffer[i * m_meshDim], m_vertexBuffer[i * m_meshDim + 1], m_vertexBuffer[i * m_meshDim + 2]);
I believe this is caused by m_vertexBuffer in SofaMesh.cs not being updated properly for the NO_TOPOLOGY case. What do you think?
Fredrik.