Trait heron::rapier_plugin::rapier3d::parry::query::RayCast[][src]

pub trait RayCast {
    fn cast_local_ray_and_get_normal(
        &self,
        ray: &Ray,
        max_toi: f32,
        solid: bool
    ) -> Option<RayIntersection>; fn cast_local_ray(
        &self,
        ray: &Ray,
        max_toi: f32,
        solid: bool
    ) -> Option<f32> { ... }
fn intersects_local_ray(&self, ray: &Ray, max_toi: f32) -> bool { ... }
fn cast_ray(
        &self,
        m: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
        ray: &Ray,
        max_toi: f32,
        solid: bool
    ) -> Option<f32> { ... }
fn cast_ray_and_get_normal(
        &self,
        m: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
        ray: &Ray,
        max_toi: f32,
        solid: bool
    ) -> Option<RayIntersection> { ... }
fn intersects_ray(
        &self,
        m: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
        ray: &Ray,
        max_toi: f32
    ) -> bool { ... } }
Expand description

Traits of objects which can be transformed and tested for intersection with a ray.

Required methods

Computes the time of impact, and normal between this transformed shape and a ray.

Provided methods

Computes the time of impact between this transform shape and a ray.

Tests whether a ray intersects this transformed shape.

Computes the time of impact between this transform shape and a ray.

Computes the time of impact, and normal between this transformed shape and a ray.

Tests whether a ray intersects this transformed shape.

Implementors