perigee 0.7.0

A headless realtime 3D engine built with a focus on the web.
Documentation
1
2
3
4
5
6
7
8
9
use rapier3d::prelude::*;

pub trait ColliderEventListener {
    fn on_collision_start(&mut self, _other: &ColliderHandle) {}
    fn on_collision_end(&mut self, _other: &ColliderHandle) {}
    fn on_intersection_start(&mut self, _other: &ColliderHandle) {}
    fn on_intersection_end(&mut self, _other: &ColliderHandle) {}
    fn on_contact_force_event(&mut self, _other: &ColliderHandle, _details: ContactForceEvent) {}
}