Skip to content

clearObjectBreakProfile

Client-side

Available in Neon, not standard MTA

Disarms an object, leaving it undamageable by the managed path again.

Syntax

bool clearObjectBreakProfile(object theObject)

Arguments

theObjectobject

Streamed object element.

Returns

true when a profile was cleared; false when there was none.

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.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →