summaryrefslogtreecommitdiff
path: root/src/BulletCollision/CollisionDispatch
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3841 from erwincoumans/mastererwincoumans2021-05-121-2/+0
|\ | | | | fix some msan (memory sanitizer) issues
| * fix some msan (memory sanitizer) issuesErwin Coumans2021-05-121-2/+0
| |
* | Fixes assertion caused by a 0len vector normalizationAndrea Catania2021-04-261-1/+1
|/ | | fixes #3194
* Merge branch 'master' of github.com:erwincoumans/bullet3 into mastererwin coumans2021-04-241-3/+1
|\
| * Use drawTriangle instead of drawing three linesChris Djali2021-03-211-3/+1
| |
* | PyBullet: try to address activation/deactivation issue with fixed base ↵erwin coumans2021-04-241-1/+2
|/ | | | multibody with links.
* Support kinematic multibody baseWenlongLu2020-10-291-0/+1
|
* btCollisionObject.h: add getters for m_objectsWithoutCollisionCheckStephen Gold2020-05-131-0/+10
|
* extend BVH and GImpact algorithms to accept meshes with UCHAR indicesStephen Gold2020-04-281-1/+7
|
* Remove unused member variable from dispatcher.stolk2020-04-031-2/+4
|
* Merge pull request #2577 from xhan0619/mastererwincoumans2020-01-111-1/+6
|\ | | | | Add position error into deformable vs. rigid contact
| * fix bug in the pretransform of rigid body interpolation transformXuchen Han2019-12-301-1/+6
| |
* | Update btCollisionDispatcherMt.herwincoumans2020-01-111-1/+1
| | | | | | add a space to fix compile errors
* | a better approach to merge new manifolds on multithreaded CPU dispatcherAnis2019-12-302-8/+15
|/
* Fix multi-line comment warning with -WcommentDaniele Bartolini2019-12-152-5/+5
|
* remove world dependency from ↵Xuchen Han2019-08-211-1/+3
| | | | btDeformableBodySolver,btDeformableBackwardEulerObjective, and btCGProjection; reduce invasion into multibody world, all chnages are cosmetic now
* fix the issue that compound objects's child does not get rotated in the ↵Xuchen Han2019-08-162-2/+8
| | | | material space in interpolationWorldTransform
* build islands once and process islands arbitrary number of times in update ↵Xuchen Han2019-08-162-3/+7
| | | | constraints
* Merge pull request #2351 from xhan0619/Deformableerwincoumans2019-08-141-3/+4
|\ | | | | Add deformable body world and solver
| * only call buildIslands once for multibody in each timestepXuchen Han2019-08-021-3/+3
| |
| * combat friction drift in positionCorrect by changing velocity and change it ↵Xuchen Han2019-08-021-3/+4
| | | | | | | | back (effectively only changing position)
* | PyBullet: add support for internal edge filtering for height field terrainsErwin Coumans2019-08-092-4/+92
|/
* allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShapeerwincoumans2019-04-161-2/+1
|
* add raycast accelerator for btHeightfieldTerrainShape, thanks to Marc ↵erwincoumans2019-04-151-0/+16
| | | | | | | | Zylann, see https://github.com/bulletphysics/bullet3/pull/2062 it can be disabled by setting the flag cb.m_flags |= btTriangleRaycastCallback::kF_DisableHeightfieldAccelerator; acceleration is disabled for z axis up. add btHeightfieldTerrainShape example to example browser
* Add preliminary PhysX 4.0 backend for PyBulleterwincoumans2019-01-222-0/+13
| | | | | | Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py) Fix related to TinyRenderer object transforms not updating when using collision filtering
* apply improvement, to allow btCompoundShape per-shape collision filteringErwin Coumans2018-12-221-5/+6
| | | | Fixes old issue 67
* propagate resultOut->m_closestPointDistanceThreshold properly for ↵erwincoumans2018-11-272-6/+6
| | | | convex-convex (capsule, sphere) and convex vs plane
* Added extern declarationJelle2018-10-241-0/+2
| | | The extern declaration was missing from this file.
* apply clang-format (on Mac, slightly different than running it on Windows)Erwin Coumans2018-09-301-3/+3
|
* PyBullet OpenGL/EGL hardware getCameraImage: use glViewport to reduce the ↵erwincoumans2018-09-301-3/+3
| | | | | | | | glReadPixels calling cost dramatically for small images PyBullet Allow OpenGL/EGL hardware to render segmentation mask. Use pybullet.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX or pybullet.ER_SEGMENTATION_MASK PyBullet.removeBody fix indexing bug (use foundIndex, not i) PyBullet bump up version to 2.2.3
* Code-style consistency improvement:erwincoumans2018-09-2357-5375/+4612
| | | | | | Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
* PyBullet / BulletRobotics:erwincoumans2018-09-122-1/+31
| | | | | | | | Implement collisionFilterPlugin, use setCollisionFilterPair to enable or disable collision detection between specific pairs of objects. Also, expose setCollisionFilterGroupMask as PyBullet API and in urdf using the tag <collision group="1" mask="2"/>. See examples/pybullet/examples/collisionFilter.py for an example. PyBullet default: Lower the warmstarting factor, for maximal coordinates rigid bodies for more stable simulation. Add btCollisionWorld::refreshBroadphaseProxy to easier recreate the broadphase proxy without adding/removing objects to the world.
* fix typeErwin Coumans2018-08-311-1/+1
|
* fix crash in btInternalEdgeUtility when a mesh is not the expected typeErwin Coumans2018-08-311-5/+14
| | | | (don't wrap a mesh in a btCompoundShape if you want to use the edge utility)
* fix leakErwin Coumans2018-07-271-1/+7
|
* fix memory leak reported in Issue #1800Erwin Coumans2018-07-251-2/+7
| | | | avoid access to array elements outside of range
* remove some debug globals from third_party/bulletJeffrey Bingham2018-06-231-5/+0
| | | | | | There are some debug global variables that prevent using bullet safely on multi-threaded environments (tsan failures). PATCH from marioprats@
* Update btConvexConvexAlgorithm.cpperwincoumans-patch-4erwincoumans2018-06-131-0/+2
|
* Simplify GJK. Still needs double precision for large differences of feature ↵erwincoumans2018-06-121-13/+133
| | | | | | | | scales. Extract faces directly from btConvexHullComputer (in initializePolyhedralFeatures), instead of reconstructing them, thanks to Josh Klint in #1654 PyBullet: use initializePolyhedralFeatures for convex hulls and boxes (to allow SAT) PyBullet: expose setPhysicsEngineParameter(enableSAT=0 or 1) to enable Separating Axis Test based collision detection for convex vs convex/box and convex versus concave triangles (in a triangle mesh).
* different way of sorting pairs (using indexing), don't 'clear' all pairs.Erwin Coumans2018-06-111-7/+3
|
* enable more unit tests in PyBullet.erwincoumans2018-06-091-1/+9
| | | | | | return Py_None if no user data found, to pass the test. enable m_deterministicOverlappingPairs by default. if m_deterministicOverlappingPairs, sort the collision pairs.
* Disable overlapping pair debug variables behind the BT_DEBUG_COLLISION_PAIRS ↵erwincoumans2018-05-292-3/+10
| | | | preprocessor definition.
* Use a very large default m_contactStiffness (so that if one object is a bit ↵Erwin Coumans2018-05-261-1/+1
| | | | soft, the stiffness is properly combined)
* Fix Issue #1623, SphereTriangleDetector for cases with positive ↵Erwin Coumans2018-05-221-2/+4
| | | | | | | | contactBreakingThreshold and where sphere was intersecting with multiple edges (need to take the closest edge) Thanks to Andrea Catania for the report and reproduction case!
* PyBullet: add signed distance field support, with example/signedDistanceField.pyErwin Coumans2018-04-161-20/+32
| | | | | | | | See also data\toys\concave_box.urdf and data\toys\concave_box.cdf data\toys\concave_box.cdf was generated from concave_box.obj using //GenerateSDF.exe -r "32 32 32" -d "-1.6 -1.6 -.6 1.6 1.6 .6" concave_box.obj //SDF is based on code from DiscreGrid, https://github.com/InteractiveComputerGraphics/Discregrid
* Preparation to add signed distance field collision detection.erwincoumans2018-04-081-11/+64
| | | | btMiniSDF is based on https://github.com/InteractiveComputerGraphics/Discregrid
* Fix warning with -Wmisleading-indentationDaniele Bartolini2018-03-142-7/+7
|
* Fix calculation of startPt for perturbed object A.Stephen Sinclair2018-02-161-1/+1
| | | | Fixes #1563.
* early break if single object sleepingCuriousRubick2018-01-261-5/+3
|
* allow to enable/disable implicit cylinder conversion through an APIerwincoumans2018-01-091-6/+12
| | | | | | p.loadURDF("r2d2.urdf", flags=p.URDF_USE_IMPLICIT_CYLINDER) allow to enable/disable deterministicOverlappingPairs through an API p.setPhysicsEngineParameter(deterministicOverlappingPairs = False)