This is a breaking changes that adds a max_toi parameter to every ray-cast queries. This will cause ray-cast queries to return None if the time of impact of the ray with the queried shape is greater than max_toi.
In other words, if the first hit of the ray with the shape is further than ray.orig + ray.dir * max_toi, then None is returned.
This is a breaking changes that adds a
max_toi
parameter to every ray-cast queries. This will cause ray-cast queries to returnNone
if the time of impact of the ray with the queried shape is greater thanmax_toi
.In other words, if the first hit of the ray with the shape is further than
ray.orig + ray.dir * max_toi
, thenNone
is returned.This PR also fixes the CI build for WASM.