- Code: Select all
std::vector<NewtonCollsion*> parts;
for (...)
{
...
parts.push_back(NewtonCreateConvexHull(w, partVerts.size(), &partVerts[0].x, 12, 0.01, NULL));
}
NewtonCollision *col = NewtonCreateCompoundCollision(w, parts.size(), &parts[0]);
//! should the convex collisions in 'parts' be NewtonReleaseCollision()'d ?!?
2) can a convex hull modifier be used on a compound collision? [edit] I just tested this, and it NewtonCreateConvexHullModifier() returns NULL for this - how can I dynamically scale compound collisions?
3) my convex hull modifier for some convex hulls likes to fall through the floor on some occasions, or is about to fall through and bounces up, then through and up again, and so on. This does not occur if the collision is not a convex hull modifier.
Sorry for all the questions, but Portalized crucially needs stable real-time scaling of all the physics objects
On another note, would it be possible to distribute the betas as a plain .zip without an installer? It's very cumbersome to have to actually install something like this, and then whenever I want to upgrade to another beta, I have to uninstall the old one. This removes the old one completely, and any projects which still compile against an older beta need to all be upgraded, which is not that great. If the betas were all plain .zips, life would be so much easier