Ghost collision improvements (#61)
- flag to disable hull-mesh speculative collision - faster atomics #55 - fix triangle vs hull logic - fix #58 and #59 - improved shadows in samples app, a bit more expensive
This commit is contained in:
parent
52f1a254ad
commit
ef8ef0187a
39 changed files with 16639 additions and 12086 deletions
|
|
@ -248,6 +248,11 @@ void b3CreateContact( b3World* world, b3Shape* shapeA, b3Shape* shapeB, int chil
|
|||
contact->flags |= b3_contactEnableContactEvents;
|
||||
}
|
||||
|
||||
if ( ( shapeA->flags & b3_enableSpeculative ) && ( shapeB->flags & b3_enableSpeculative ) )
|
||||
{
|
||||
contact->flags |= b3_enableSpeculativePoints;
|
||||
}
|
||||
|
||||
// Connect to body A
|
||||
{
|
||||
contact->edges[0].bodyId = shapeA->bodyId;
|
||||
|
|
|
|||
Loading…
Reference in a new issue