Sync body flags (#7)
- Fixed mesh point culling for vertically stacked points - Fixed two point capsule vs capsule normal - Fixed bug where body flags can go out of sync - Added tests - Updated benchmarks
This commit is contained in:
parent
758dc665dd
commit
79cc160275
39 changed files with 1686 additions and 931 deletions
|
|
@ -921,7 +921,8 @@ public:
|
|||
b3TransformPoint( xf, m_triangle[2] ),
|
||||
};
|
||||
|
||||
b3CollideHullAndTriangle( &m_manifold, m_pointCapacity, m_hull, localTriangle, m_flags, &m_satCache );
|
||||
b3CollideHullAndTriangle( &m_manifold, m_pointCapacity, m_hull, localTriangle[0], localTriangle[1], localTriangle[2],
|
||||
m_flags, &m_satCache );
|
||||
|
||||
// Convert manifold from frame B to world space
|
||||
m_manifold.normal = b3RotateVector( m_transformB.q, m_manifold.normal );
|
||||
|
|
|
|||
Loading…
Reference in a new issue