Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
#include <WorldCallbacks.hpp>
Public Types | |
using | count_t = std::remove_const< decltype(MaxManifoldPoints)>::type |
Public Member Functions | |
count_t | GetCount () const noexcept |
Momentum | GetEntryNormal (count_t index) const noexcept |
Momentum | GetEntryTanget (count_t index) const noexcept |
void | AddEntry (Momentum normal, Momentum tangent) noexcept |
Contact Impulse.
Used for reporting. Impulses are used instead of forces because sub-step forces may approach infinity for rigid body collisions. These match up one-to-one with the contact points in Manifold.
using box2d::ContactImpulsesList::count_t = std::remove_const<decltype(MaxManifoldPoints)>::type |
|
inlinenoexcept |