Follow cam (#107)
- follow cam in replay viewer - world text with halo - fixed sensor crash - sensor visitors must now be convex
This commit is contained in:
parent
781673be80
commit
3fc20f5b45
27 changed files with 7450 additions and 127 deletions
|
|
@ -106,9 +106,6 @@ B3_API float b3GetStallThreshold( void );
|
|||
/// The maximum number of contact points between two touching shapes.
|
||||
#define B3_MAX_MANIFOLD_POINTS 4
|
||||
|
||||
/// The maximum number points to use for shape cast proxies (swept point cloud).
|
||||
#define B3_MAX_SHAPE_CAST_POINTS 64
|
||||
|
||||
/// The number of iterations for gyroscopic torques.
|
||||
#ifndef B3_GYROSCOPIC_ITERATIONS
|
||||
#define B3_GYROSCOPIC_ITERATIONS 1
|
||||
|
|
@ -126,6 +123,9 @@ B3_API float b3GetStallThreshold( void );
|
|||
/// Relative tolerance used to determine if two edges are parallel.
|
||||
#define B3_PARALLEL_EDGE_TOL 0.005f
|
||||
|
||||
/// The maximum number points to use for shape cast proxies (swept point cloud).
|
||||
#define B3_MAX_SHAPE_CAST_POINTS B3_MAX_HULL_VERTICES
|
||||
|
||||
/// These generous limits allow for easy hashing. See b3ShapePairKey.
|
||||
#define B3_SHAPE_POWER 22
|
||||
#define B3_CHILD_POWER ( 64 - 2 * B3_SHAPE_POWER )
|
||||
|
|
|
|||
|
|
@ -493,6 +493,7 @@ typedef struct b3ShapeDef
|
|||
bool isSensor;
|
||||
|
||||
/// Enable sensor events for this shape. This applies to sensors and non-sensors. False by default, even for sensors.
|
||||
/// Only convex shapes may act as sensor visitors.
|
||||
bool enableSensorEvents;
|
||||
|
||||
/// Enable contact events for this shape. Only applies to kinematic and dynamic bodies. Ignored for sensors. False by default.
|
||||
|
|
|
|||
Loading…
Reference in a new issue