Jump to content

Clearing Released Decals on Object Surface


photo

Recommended Posts

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
  • 4 weeks later...
×
×
  • Create New...