|
Parameters |
Description |
|
pos |
Explosion epicenter position. |
|
radius |
Explosion radius. |
|
direction |
Explosion impulse direction. |
|
impulse_pos |
Explosion impulse position (Can be different from explosion epicenter). |
|
impulse_presure |
Explosion impulse presur at radius distance from epicenter. |
|
rmin |
Explosion minimal radius, at this radius full pressure is applied. |
|
rmax |
Explosion maximal radius, at this radius impulse pressure will be reaching zero. |
|
hole_size |
Size of the explosion hole to create in breakable objects. |
!
! ! Simulate physical explosion. ! Does not apply any game related explosion damages, this function only apply physical forces. ! The parameters are passed as a table containing the elements described below. ! !
!
!
!
!
!
!
!
|
Copyright (c) 2012. All rights reserved.
|