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
|
|
@ -181,6 +181,7 @@ static b3Shape* b3CreateShapeInternal( b3World* world, b3Body* body, b3WorldTran
|
|||
shape->flags |= def->enableCustomFiltering ? b3_enableCustomFiltering : 0;
|
||||
shape->flags |= def->enableHitEvents ? b3_enableHitEvents : 0;
|
||||
shape->flags |= def->enablePreSolveEvents ? b3_enablePreSolveEvents : 0;
|
||||
shape->flags |= def->enableSpeculativeContact ? b3_enableSpeculative : 0;
|
||||
shape->proxyKey = B3_NULL_INDEX;
|
||||
shape->localCentroid = b3GetShapeCentroid( shape );
|
||||
shape->aabbMargin = b3ComputeShapeMargin( shape );
|
||||
|
|
|
|||
Loading…
Reference in a new issue