0
votes
2answers
44 views

Libgdx, find Vector3 direction

I am using Libgdx along with Bullet physics. I have a vehicle moving. I would like to use a ray from the vehicles origin and in the vehicles forward direction. How can I create the forward Vector3 ...
0
votes
0answers
54 views

Libgdx get 3d intersection coordenate

Is there any algorithm that takes an arbitrary point coordinates as input and determines which is the 3d coordinate where the ray intersects the mesh? Use case: The mesh is rendered on the screen, ...
3
votes
1answer
571 views

box2d raycast filter category

I am trying to filter a category in my ray casting (jBox2D within libGDX), which should return the closest object that does not belong to the category LEVEL0. I've tried a plethora of approaches, but ...
0
votes
2answers
319 views

Wavefront mesh: determine which face a point belongs to?

I have a 3D mesh Wavefront .obj file. Is there any algorithm that takes an arbitrary point coordinates as input and determines which face of the mesh that point belongs to ?? The mesh is rendered on ...
-2
votes
1answer
804 views

Ray casting on a mesh using libgdx [closed]

I'm trying to perform ray casting on a mesh using libgdx. I found this code sample and it misses some explanations. What do these vectors stand for? What is globalIntersection and localIntersection?