29.03.2017, 14:16
That function is used to check if there is anything between Start and End pos. If there is any obstacle (wall, tree, fence, any object with collision) it will return modelid and store position of ray cast collision position to x, y, z.
So basically you can do many things with it...from checking if player is in air to checking if there is something in a path of missile/bullet...
So basically you can do many things with it...from checking if player is in air to checking if there is something in a path of missile/bullet...