Add a helper function for one-way platforms.

This commit is contained in:
Crozet Sébastien
2021-02-23 15:48:04 +01:00
parent b3405e5672
commit f8bf96fdc8
2 changed files with 73 additions and 5 deletions

View File

@@ -8,10 +8,9 @@ use crate::dynamics::{IntegrationParameters, JointSet, RigidBodySet};
use crate::dynamics::{JointGraphEdge, ParallelIslandSolver as IslandSolver};
use crate::geometry::{
BroadPhase, BroadPhasePairEvent, ColliderPair, ColliderSet, ContactManifoldIndex, NarrowPhase,
PhysicsHooks,
};
use crate::math::{Real, Vector};
use crate::pipeline::EventHandler;
use crate::pipeline::{EventHandler, PhysicsHooks};
/// The physics pipeline, responsible for stepping the whole physics simulation.
///