Changing the checklist for dbLimbCount does nothing, and I just uncommented dbUnlockVertex and it also does nothing :/
Using memblocks, I've managed to get (supposedly) the vertex positions, but the x,y,z values are huuuge! Wayy outside of what they should be. Anyone crit this code?
dbMakeMeshFromObject(1,1);
dbMakeMemblockFromMesh(1,1);
int vertexCount = dbMemblockWord(1,8);
for(int j = 0; j < vertexCount; j++) {
int posx,posy,posz;
posx = dbMemblockWord(1,12+j*28);
posy = dbMemblockWord(1,12+j*28+4);
posz = dbMemblockWord(1,12+j*28+8);
dbMakeObjectSphere(totalVertexCount+10,50,50,50);
dbPositionObject(totalVertexCount+10,posx,posy,posz);
}
edit: I realised it was dbMemblockWORD and not dbMemblockFloat(), the values for XYZ are much smaller now, but now they're TOO small :/ I'm not scaling the object either, no idea whats going on
edit2: I've worked it out. Turns out its 28 byes + 4 for the last DWORD haha, the vertex positions seem to come out fine now
Thanks for your help everyone!