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 so I can apply it to the ray?
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 so I can apply it to the ray?