Skip to content

Commit

Permalink
docs(collisions): add resource links about contact manifolds computation
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenatlas committed Sep 9, 2024
1 parent 2f6ccfe commit 03b9126
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engine/src/collisions/narrow_phase/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ void cubos::engine::narrowPhaseCollisionsPlugin(Cubos& cubos)
}
});

/// TODO: this can potentially simplified, since we know we're dealing with boxes, the number of points
// contained in each polygon and the adjacent faces might be always the same.
/// Our method to calculate contact manifolds (and all supporting functions) is inspired by the tutorial:
/// https://research.ncl.ac.uk/game/mastersdegree/gametechnologies/previousinformation/physics5collisionmanifolds/2017%20Tutorial%205%20-%20Collision%20Manifolds.pdf
/// and the code of the course (Framework 2017):
/// https://research.ncl.ac.uk/game/mastersdegree/gametechnologies/previousinformation/csc8503coderepository/
/// This system is for box shapes only, so it's simplyfied in comparison to the tutorial.
cubos.system("collision manifolds")
.tagged(collisionsManifoldTag)
.after(collisionsNarrowTag)
Expand Down

0 comments on commit 03b9126

Please sign in to comment.