I defined an enemy bot :
my.health = 100;
set(my,POLYGON);
my.emask = ENABLE_SHOOT ;
my.event = got_shot_r1;
....etcetera...
I think the order set(my, POLYGON) of the enemy , limits the c_trace command of my gun to impact only the shape of the model and not the BOX. For example, i would like if the enemy is in the AIM position and there is a box between it and the player when i shoot , logically, cant hurt him.
when i shoot, i defined de c_trace command like this:
c_trace( camera.x, temp, IGNORE_ME | IGNORE_PASSABLE | ACTIVATE_SHOOT | USE_POLYGON)
...etcetera.
The problem is when i shoot , even my enemy is in AIM position the c_trace command of my gun impacts on its BOX and hurt him.
Thanks for your help.
Last edited by Erick_Castro; 11/27/09 23:26.