Skip to main content

pick_entity

Function pick_entity 

Source
pub fn pick_entity(world: &GameWorld, ray: &Ray) -> Option<EntityId>
Expand description

The nearest entity whose bounds the ray enters, if any.