wraith
15-06-2009 00:39:51
I'm trying to scale a convex mesh at runtime. I'm creating multiple instances of an object, each scaled differently. After creation I use:
object->getSceneNode()->scale();
to set the size of the actual mesh, but I can't figure out how to dynamically scale the convex mesh. I've tried creating a convex object and using
convex->getBlueprint()->mSize=newsize;
but that doesn't work. Any help would be appreciated.
object->getSceneNode()->scale();
to set the size of the actual mesh, but I can't figure out how to dynamically scale the convex mesh. I've tried creating a convex object and using
convex->getBlueprint()->mSize=newsize;
but that doesn't work. Any help would be appreciated.