anubis
05-05-2003, 05:42 AM
hm, i can't get my head around this.
i have cube sitting at the origin of the world. i want the cube to emitt particles on it's edge points against it's rotation and movement. my idea was to safe the modelview matrix of the object compute the new one and use them both to get the old and new position of any given vertex emitting a particle. the direction in which particles get emitted would be the vector from the new pos to the old one. somehow this doesn't work though. is there something fundamentaly wrong with my assumptions ??? does anybody have a better idea ???
i have cube sitting at the origin of the world. i want the cube to emitt particles on it's edge points against it's rotation and movement. my idea was to safe the modelview matrix of the object compute the new one and use them both to get the old and new position of any given vertex emitting a particle. the direction in which particles get emitted would be the vector from the new pos to the old one. somehow this doesn't work though. is there something fundamentaly wrong with my assumptions ??? does anybody have a better idea ???