Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBindPhysics::RegisterExplosionCrack Method
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. 

!

Physics.RegisterExplosionCrack( sGeometryFile, int nMaterialId )

! Register a new crack for breakable object.!  

!  

 

Copyright (c) 2012. All rights reserved.