But I still have another problem.

Wenn I shoot or hit a stone nothing happens, I think that is because the bullets from Intense X are passable (I don`t know wy), but how can I still shoot my physicobjeckts so thaz they fly all over the place???

here is my main code (physicobjeckts):

___________________________________________________________________________________________________________________

#include <IntenseX.h>


ENTITY* eBall;



void main()
{
video_mode = 10;
video_screen = 1;
shadow_stencil = 3;

ENTITY* sky = ent_createlayer("skycube+6.dds", SKY | CUBE | SHOW, 0);
sky.z = 30;
}
//What can I add to rock???
action rock()
{
eBall = me;
my.emask |= ENABLE_SCAN;
my.emask |= ENABLE_BLOCK;
set(my,POLYGON);
set(eBall,SHADOW);
phent_settype(eBall,PH_RIGID,PH_BOX);
phent_setmass(eBall,50,PH_BOX);
phent_setfriction(eBall,48);
phent_setelasticity(eBall,15,10);
phent_setdamping(eBall,20,20);
ph_setgravity(vector(0,0,-600));
}

action stone()
{
set(my,POLYGON);
}

Last edited by MDMDFSS; 06/09/09 11:57.