jcornaz / heron

[DISCONTINUED] An ergonomic physics API for bevy games
MIT License
292 stars 44 forks source link

docs: fix inaccurate parameter documentation of `shape_cast` #271

Closed NEO97online closed 2 years ago

NEO97online commented 2 years ago

The docs for shape_cast say end_position instead of ray, but the internal usage of the parameter is a ray, not the end position of the shape. This is consistent with the docs for cast_ray.

Big thanks to @mijalk0 for helping me figure this out. (Because it said end_position I thought I needed to pass the end position of the shape cast)

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 3.1.0 :tada: