Hi guys,
I got a particles function spawning particles in a circle around my character. Only the character is not in the center of it. It should use player.x and player.y but looks like it uses an offset of that. The model pivot is in the bottom center of the model.
Does anyone know why it would use an offset of player.x and player.y or maybe not the model pivot?

function show_area_effect()
{
var i = 0;
while (i < 360)
{
vec_set(vec_p, vector(player.x + ( ( misery * 2 ) + 300 ) * cos(p_pan + i), player.y + ( ( misery * 2 ) + 300 ) * sin(p_pan + i), player.z ));
effect(area_effect,1,vec_p,NULL);
i += 1;
}
}