MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / detachObject

Method detachObject

Engine/source/Verve/VPath/VPath.cpp:1509–1520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1507}
1508
1509void VPath::detachObject( SceneObject *pObject )
1510{
1511 VPathObject *pathObject = getPathObject( pObject );
1512 if ( !pathObject )
1513 {
1514 Con::warnf( "VPath::detachObject() - Object (%d) Not Attached to Path.", pObject->getId() );
1515 return;
1516 }
1517
1518 // Detach.
1519 detachObject( pathObject );
1520}
1521
1522void VPath::detachObject( VPathObject *pPathObject )
1523{

Callers 2

VPath.cppFile · 0.45
detachPathObjectMethod · 0.45

Calls 4

printfFunction · 0.85
getIdMethod · 0.65
warnfFunction · 0.50
setMaskBitsMethod · 0.45

Tested by

no test coverage detected