misterwolfy

11-19-2010, 12:07 PM

I have a collision event that produces collision U and V output.

float $colU = particleShape1.collisionU;

float $colV = particleShape1.collisionV;

I get results like:

collisions in u: 0.9518819253 collisions in v: 0.6064704928

collisions in u: 0.9414537137 collisions in v: 0.6129580163

collisions in u: 0.619097031 collisions in v: 0.7295783004

How do I convert these UV coordinates to spacial coordinates? I want Z X so that I can place objects at the points of collision.

the collision is between a 2x2 plane emitting particles and a 2x2 plane that they are colliding with.

Thanks for reading!!

float $colU = particleShape1.collisionU;

float $colV = particleShape1.collisionV;

I get results like:

collisions in u: 0.9518819253 collisions in v: 0.6064704928

collisions in u: 0.9414537137 collisions in v: 0.6129580163

collisions in u: 0.619097031 collisions in v: 0.7295783004

How do I convert these UV coordinates to spacial coordinates? I want Z X so that I can place objects at the points of collision.

the collision is between a 2x2 plane emitting particles and a 2x2 plane that they are colliding with.

Thanks for reading!!