dimforge / dimforge/bevy_rapier

Read-only API for EntityMap

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
A-Integration C-Enhancement D-Medium P-Medium S-not-started
Dominant language
Rust
Stars
1.6k
Forks
282
PR merge metrics
No merged PRs in 30d

Description

It would be nice to have a read-only API for EntityMaps. Right now every member is marked as `pub(crate)`, so there's no way to access them.

My particular use-case is to get an Entity that I hit with `QueryPipeline::cast_ray`. I hoped I could avoid linear search among all the spawned entities with `ColliderHandle`.

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.