Skip to content

clearBreakEffectCache

Client-side

Drops every cached fracture geometry entry.

Syntax

bool clearBreakEffectCache()

Returns

true when the cache was cleared.

Ownership and lifecycle

A break effect belongs to the resource that created it and is removed when that resource stops. Fragment geometry is cached per model, so repeated fractures of the same model reuse the first computed cut until the cache is cleared.

Important behavior
  • Worth calling after a scene that fractured many different models, since each entry holds generated geometry.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →