In this chapter we will learn about the various types of scene queries and their mode of operations.
Topics that are covered in this chapter are as follows:
The raycast query is a way to detect collisions by using rays, just like how we use the laser pointing device during any slide show presentation, which creates a red dot on the first object its ray collides with. Raycast queries have many uses, such as detecting bullet collision point in an FPS game, checking line of sight for the enemy characters, and selecting in-game objects by using a mouse.
In PhysX, raycasting is done by calling ...