This should be doable, but my code produces no visible effect in any direction. The character is fixed at about -30 tilt, and the effect is supposed to be a simple beam from his eyes in the direction he is tilted.
Code:
.....
vec_for_vertex(vert1,me,455);
vec_rotate(vert1,my.pan);
vec_for_vertex(vert2,me,509);
vec_rotate(vert2,my.pan);
effect(photonBeam,1,vert1,velocity);
effect(photonBeam,1,vert2,velocity);
.....
I am sure the particles starting positions should be what is being effected and not the velocity, but I can't seem to get anything to make the particles move direction on the characters tilt.
Thanks for your help
-raiden