Manifold allocation cap (#227)
Degenerate scenarios can lead to a huge number of manifolds per contact. This creates memory and performance problems. So I'm capping them to 8 using cheap heuristics for culling.
This commit is contained in:
parent
be8c731890
commit
8f3b2e12eb
18 changed files with 1161 additions and 138 deletions
|
|
@ -704,6 +704,12 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
// The base world before a recording is open
|
||||
b3WorldId GetMetricsWorldId() const override
|
||||
{
|
||||
return B3_IS_NON_NULL( m_replayWorldId ) ? m_replayWorldId : m_worldId;
|
||||
}
|
||||
|
||||
// Wider than the default so the detail pane, hosted in the info panel, has room for ids and vectors.
|
||||
float InfoPanelWidthEm() const override
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue