I'm attempting to use a particle system to do hardware instancing on a piece of geometry. That part works just fine... but I'd also like to be able to rotate the instanced geometry to face the direction in which each particle is moving. I know how to use instancing to do rotations... I just can't figure out a way of calculating this rotation on a per-particle basis. Any suggestions?