fix for ghost collision on reflected meshes
remove B3_MAX_MESH_CONTACT_TRIANGLES cap
This commit is contained in:
parent
3362633204
commit
1a7e09c49d
5 changed files with 336 additions and 130 deletions
|
|
@ -137,10 +137,3 @@ B3_API float b3GetLengthUnitsPerMeter( void );
|
|||
#define B3_CHILD_POWER ( 64 - 2 * B3_SHAPE_POWER )
|
||||
#define B3_MAX_SHAPES ( 1 << B3_SHAPE_POWER )
|
||||
#define B3_MAX_CHILD_SHAPES ( 1 << B3_CHILD_POWER )
|
||||
|
||||
/// This is the limit on how many mesh or heightfield triangles a single convex shape can collide with.
|
||||
/// Increasing this will increase stack usage, so be careful. I recommend to simplify your collision data
|
||||
/// before increasing this. For example, using render mesh for collision often leads to poor performance.
|
||||
#ifndef B3_MAX_MESH_CONTACT_TRIANGLES
|
||||
#define B3_MAX_MESH_CONTACT_TRIANGLES 512
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue