Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon authored Dec 4, 2024
1 parent bd01e72 commit d62d5af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/flame/collision_detection.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ But in some use cases, it might be interesting to find hits only within a certai
range. For such cases, an optional `maxDistance` can be provided.

To use the ray casting functionality you have to have the `HasCollisionDetection` mixin on your
game. After you have added that, you can call `collisionDetection.raycast(...)` on your game class, or with the `HasGameReference` Mixin from other components as well.
game. After you have added that, you can call `collisionDetection.raycast(...)` on your game class,
or with the `HasGameReference` Mixin from other components as well.

Example:

Expand Down

0 comments on commit d62d5af

Please sign in to comment.