Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RegisterExplosionCrack
Syntax
C++
int RegisterExplosionCrack(IFunctionHandler * pH, const char * sGeometryFile, int nIdMaterial);
Parameters 
Description 
const char * sGeometryFile 
Static geometry file name fro the crack (CGF). 
nMaterialId 
ID of the breakable material to apply this crack on.
 

Syntax: Physics.RegisterExplosionCrack( const char *sGeometryFile,int nIdMaterial ) 

Register a new crack for breakable object.

Copyright (c) 2012. All rights reserved.