Moderators: Sascha Willems, walaber
ah, I found out why is so slow.
solver iteration count is set to 24, if you slide it to 1 the I stake less that 6 ms at worse in my machine.
AmFreak wrote:Hi,
would this plugin give me deterministic physics (on pc) e.g. for a lockstep mp game?
TerrainData data = terrain.terrainData;
int treesCount = data.treeInstanceCount;
TreeInstance[] treeInstanceArray = data.treeInstances;
Debug.Log("xxx count " + treesCount);
Debug.Log("xxx0 " + treeInstanceArray[0].position);
Debug.Log("xxx1 " + treeInstanceArray[1].position);
Debug.Log("xxx2 " + treeInstanceArray[2].position);
Users browsing this forum: No registered users and 13 guests