[][src]Trait physx::traits::Collidable

pub trait Collidable {
    fn on_collide(&mut self, other: &RigidActor, pairs: &[PxContactPair]);
fn reset_collide(&mut self);
fn has_collide(&self) -> bool;
fn read_collision_points(&self) -> &[PxContactPairPoint]; }

Required methods

fn on_collide(&mut self, other: &RigidActor, pairs: &[PxContactPair])

fn reset_collide(&mut self)

fn has_collide(&self) -> bool

fn read_collision_points(&self) -> &[PxContactPairPoint]

Loading content...

Implementors

impl Collidable for ArticulationLink[src]

Link in a reduced coordinate (multibody) tree N.b., with PhysX the position of the transform of the link is parametrized by the joint that connects it to the parent. It does not itself have a transform.

impl Collidable for RigidActor[src]

Loading content...