Skip to content
Snippets Groups Projects
Verified Commit b281f179 authored by Lars Frost's avatar Lars Frost
Browse files

Mention shape casting

parent bd176851
Branches master
No related tags found
No related merge requests found
...@@ -111,6 +111,7 @@ However, it is much more efficient to use one or multiple simple shapes (spheres ...@@ -111,6 +111,7 @@ However, it is much more efficient to use one or multiple simple shapes (spheres
Even games that have no physics interaction can need colliders, f.e. to determine which object is selected on a mouse click. Even games that have no physics interaction can need colliders, f.e. to determine which object is selected on a mouse click.
The task of determining what colliders a ray (a line going from a point in one direction) will intersect is called _Ray Casting_. The task of determining what colliders a ray (a line going from a point in one direction) will intersect is called _Ray Casting_.
When trying this for a collider, it is called _Shape Casting_.
*Game engine*#h(1em) *Game engine*#h(1em)
The game engine loads required assets on startup and then enters the main loop. The game engine loads required assets on startup and then enters the main loop.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment