Triangle Mesh raycast
Posted: Mon Dec 27, 2010 3:23 pm
hi,
when i use the rayast function in the Space Class i cant detect with the TriangleMesh it is colliding
If iam colliding with an entity it works well, but with trianglesmehs i just get the position, normals .....
is there an easy way to recover what Triangle Mesh was hit by the ray ? Or i should call Raycast in all the
the triangle meshs objects ?
Thanks in Advance
Thiago Dias Pastor
when i use the rayast function in the Space Class i cant detect with the TriangleMesh it is colliding
If iam colliding with an entity it works well, but with trianglesmehs i just get the position, normals .....
is there an easy way to recover what Triangle Mesh was hit by the ray ? Or i should call Raycast in all the
the triangle meshs objects ?
Thanks in Advance
Thiago Dias Pastor