hello all
hello all

Reputation: 252

AS3: Farther-running ray hit test with 3D triangle

I have a 3D triangle defined by three Vector3D instances. And I have a ray that shoots from (x, y, 0) (depth value is always 0) and goes farther (the depth value becomes larger). How can I know:

  1. Whether the ray hits the triangle at somewhere?
  2. If yes, where do they hit?

Thanks.

Upvotes: 0

Views: 439

Answers (1)

Related Questions