Parameters |
Description |
const char* sGeometryFile |
Static geometry file name (CGF). |
float fSize |
Scale for the static geometry. |
float fProbability |
Preference ratio of using this shape then other registered shape. |
const char* sSplintersFile |
additional non-physicalized splinters cgf to place on cut surfaces. |
float fSplintersOffset |
the lower splinters piece wrt to the upper one. |
const char* sSplintersCloudEffect |
particle effect when the splinters constraint breaks. |
nMaterialId |
ID of the breakable material to apply this shape on. |
!
! ! Register a new explosion shape from the static geometry. ! Does not apply any game related explosion damages, this function only apply physical forces. ! !
!
!
!
!
!
!
Copyright (c) 2012. All rights reserved.
|