|
|
use :
1 - create a number of zone's :
//mx,my,mz = center
//dx,dy,dz = border
zonebox( nr , mx , my , mz , dx , dy , dz )
xor
//r = radius
zonesphere( nr , mx , my , mz , r )
2 - zonehit( zone_nr_1 , zone_nr_2 )
3 - #if ( colision )
//do somthing whit speed[s] of zone[s]
#end
on the moment it only does box - box or sphere - sphere
sphere - box and box - sphere
wil be added later
who knows this whit other shapes ?
this has not been tested jet
Post a reply to this message
Attachments:
Download '@zone.pov.txt' (3 KB)
|
|