dimforge / dimforge/ncollide

Add more straightforward ray-cast methods to the CollisionWorld

Open
#244 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue P-medium
Dominant language
Rust
Stars
926
Forks
104
PR merge metrics
No merged PRs in 30d

Description

We should add methods like the ones from the `RayCast` [trait](https://www.ncollide.org/rustdoc/ncollide3d/query/trait.RayCast.html) to the `CollisionWorld` so that it is easy to retrieve the closest object intersecting with a given ray.

In addition to their original output as defined in the `RayCast` trait, those methods would return the handle of the intersected collision object.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.