ulf.schroeter Posted June 4, 2011 Share Posted June 4, 2011 Problem At the moment it does not seem to be possible to remove decals from object instance surfaces which have been created via Decal::create() and permanently attached to an object instance via Decal::release() (e.g. bullet hits on object instance). This might be a problem, when trying to reset object instance to its initial state (e.g. undamaged surfaces) Proposal Addition Object::getNumDecals( int surface ); Object::clearDecals(); // clear decals on all surfaces Object::clearDecals( int surface ); // clear decals on specified surface Link to comment
frustum Posted July 1, 2011 Share Posted July 1, 2011 Done. Object::getNumObjectDecals(int surface); Object::removeObjectDecals(int surface); Link to comment
Recommended Posts