Trait rhusics_core::CollisionData[][src]

pub trait CollisionData<I, P, T, B, Y, D> where
    P: Primitive
{ fn get_broad_data(&self) -> Vec<D>;
fn get_shape(&self, id: I) -> Option<&CollisionShape<P, T, B, Y>>;
fn get_pose(&self, id: I) -> Option<&T>;
fn get_next_pose(&self, id: I) -> Option<&T>; fn get_dirty_poses(&self) -> Vec<I> { ... } }

Collision data used for performing a full broad + narrow phase

Required Methods

Important traits for Vec<u8>

Get the list of data to perform broad phase on

Get shape

Get pose

Get the next pose if possible

Provided Methods

Important traits for Vec<u8>

Get the dirty poses, used by tree broad phase

Implementors