[FilterScript] Server-Sided Stunt Bonus
#3

CheckVehicleGroundContact could be drastically improved. The point of it is to check if the wheels are on the ground, but it doesn't. You are already getting the vehicle's quaternion rotation so why aren't you using rX and rY in the CheckVehicleGroundContact function? With that you could easily get the actual wheel position of each wheel and cast rays from the tires away from the bottom of the vehicle (in the actual direction it they should be going)! Plus, this way you would only need 2 or 4 rays, and if those don't detect the wheels on the ground you can check for the rest of the things (in GCRayMatrix).

Other than that, I love it.
Reply


Messages In This Thread
Server-Sided Stunt Bonus - by NaS - 20.04.2016, 16:27
Re: Server-Sided Stunt Bonus - by Kar - 20.04.2016, 19:59
Re: Server-Sided Stunt Bonus - by Crayder - 20.04.2016, 20:30
Re: Server-Sided Stunt Bonus - by NaS - 20.04.2016, 21:59
Re: Server-Sided Stunt Bonus - by Pottus - 21.04.2016, 21:29
Re: Server-Sided Stunt Bonus - by ProRakNet - 22.04.2016, 09:54
Re: Server-Sided Stunt Bonus - by Amunra - 25.04.2016, 12:31

Forum Jump:


Users browsing this thread: 1 Guest(s)