I'm trying to calculate the distance between my vehicle and the track directly below it using rayTestSingle, but I can't get it to return true for hasHit( ). Is anyone able to tell me what I'm doing wrong?
https://gist.github.com/4eca8b85522cb37ec4d4
[SOLVED] rayTestVehicle help
-
- Posts: 3
- Joined: Mon Apr 04, 2011 3:14 pm
Re: [SOLVED] rayTestVehicle help
Figured it out eventually.. the -10 from the vehicle didn't even reach the track, an extremely stupid mistake 
