Hello

Intro:
- I'm using a sprite on the level
- I'm using the c_trace from camera to hit the sprite

objective: c_trace the sprite with the mouse, and activate its sonar (sprite) event.

problems:
->the collision is not accurate, in the right side of the sprite or .. the bottom side (ir reacts when mouse is over a little bit from the edge)

-> on the left and upper side it works fine..
-> Does sprites must be power 2? (it would explain the extra hit area, since dX would add a canvas to fit the power of 2 square


Could it be my c_trace method that its not point correctly (though it works on the left and upper side)

Chech my c_trace method:

function m_trace(){
VECTOR to;
vec_set(to,mouse_dir3d);
vec_scale(to,2000); // set a range
vec_add(to,mouse_pos3d);
c_trace(mouse_pos3d,to,ACTIVATE_SHOOT | USE_POLYGON |SCAN_TEXTURE);
}


AS you can see i set use_polygon to check the sprite but i dont even know if its beeing used...


Solutions anyone?