erwincoumans
d45cc49a90
Merge pull request #1421 from elect86/master
...
Update btTriangleIndexVertexArray.h
2017-11-09 12:09:33 -08:00
Erwin Coumans
344005a8f0
catch invalid mass/inertia instead of division by zero/nan. also, avoid indexing <0
2017-11-07 19:25:14 -08:00
Giuseppe Barbieri
16ed6ec10b
Update btTriangleIndexVertexArray.h
2017-11-04 12:06:45 +01:00
Giuseppe Barbieri
9d50a167b0
Update btContinuousConvexCollision.cpp
2017-11-01 23:29:50 +01:00
Giuseppe Barbieri
5436336a38
Update btStaticPlaneShape.cpp
2017-11-01 22:53:39 +01:00
Giuseppe Barbieri
5e017a1e4d
Update btContinuousConvexCollision.h
2017-11-01 22:32:48 +01:00
d3x0r
88b49947b5
Composite of fixed code for mingw64(on windows) and general fixes for msvc.
...
1) (win32window) don't convert char to wide, use char direct to window.
2) (CMakeLists) Don't link one library as static CPPLIB and no others (mismatched allocations)
3) (macros) Fix Gwen macros for mingw64 on windows build. (changes are by compiler(msc_ver) not platform)
4) (FileUtils) sprintf_s reference by platform, not compiler (mingw64 support)
5) (b3OpenCLUtils) fix bad define name _MSVC_VER->_MSC_VER
6) (compoundCollision) remove unused variables, simplify operation.
7) (impulseconstraint) remove duplicated code block
2017-10-28 14:42:38 -07:00
erwincoumans
d05ad4b821
Merge pull request #1394 from davilovick/master
...
Optimize rayTest with btScaledBvhTriangleMeshShape
2017-10-24 00:33:07 +00:00
David Ávila
88758e44cb
Add comments to btCollisionWorld
2017-10-23 08:50:24 +02:00
David Ávila Membrives
2cc9ff2176
Optimize rayTest with btScaledBvhTriangleMeshShape
2017-10-19 22:55:18 +02:00
AndreaCatania
45558fc25a
Implemented callbacks to customize combining algorithm of Friction, Restitution, etc..
2017-10-15 11:42:02 +02:00
Giuseppe Barbieri
b31f372e3b
Typo
2017-10-07 13:47:34 +02:00
erwincoumans
f88973f832
Merge pull request #1286 from mendsley/clean_vbt_allocations
...
Optimize Dbvt trees in place
2017-09-24 20:35:57 -07:00
erwincoumans
6f51d81cbb
Revert "Export targets in CMake and add include directories to target properties"
2017-09-10 21:20:54 -07:00
Markus Rickert
fbffb246fe
Export targets in CMake and add include directories to target properties
2017-09-10 23:43:50 +02:00
erwincoumans
eb97e06280
fix minitaur.urdf: move lower-leg inertia to center, add missing collision for one of the motors, add contact parameters for friction_anchor, spinning friction, compliance (stiffness/damping)
...
fix in indexing for maximal coordinates (unused by default, still experimental, requires many iterations for Minitaur due to extreme mass-ratio, hence use of reduces/generalized coordinates)
modify quadruped.py to test maximal coordinates
wrap angular servo (positional) target within [-PI,PI] in btGeneric6DofSpring2Constraint
add 'j' key to show body frames in wireframe/debug mode
2017-09-02 01:05:42 -07:00
Matthew Endsley
4c00b674b3
Optimize Dbvt trees in place
...
Instead of allocating new vectors for each partition, simply partion the
nodes in place and pass the corresponding ranges to the next phase.
2017-08-30 10:27:38 -07:00
Wugand
b7011a864b
Fix for memory leak at btCreateCompoundFromGimpactShape
...
This is an fix for issue #1213
2017-07-03 11:08:36 +02:00
Erwin Coumans
4a7469a1ba
fix uninitialized-variable issues (were unused initialized, but triggers some memory checking tools)
2017-06-09 21:19:02 -07:00
yunfeibai
708a430e30
comment out btThreadsAreRunning which does not build.
2017-06-02 18:32:39 -07:00
Lunkhound
dfe184e8d3
Bullet 2 threading refactor: moved parallel-for calls into core libs
2017-05-23 01:01:20 -07:00
Erwin Coumans
433d11d8cf
Add a btIDEbugDraw::clearLines, helps multi-threaded rendering of lines (while updating those lines in a dynamics world in a different thread)
...
Expose COV_ENABLE_VR_RENDER_CONTROLLERS, to enable/disable rendering of controllers (and some frames) in VR
Expose COV_ENABLE_RENDERING to enable/disable rendering.
Fix some multi-threading issues (potential crashes), related to debug drawing/rendering in one thread, while changing the dynamics world/removing/resetSimulation in a different thread.
2017-05-16 12:19:03 -07:00
Erwin Coumans
fc6fb7b14c
initialize values (padding etc) help asan/msan tests
2017-05-09 18:00:28 -07:00
Erwin Coumans
0d3940b8bd
fix signed-integer-overflow issue:
...
Hash functions rely on 2's complement behaviour. Use unsigned integers to get that.
2017-05-09 16:36:11 -07:00
Gregery Barton
03742208f1
Collider object not necessary
...
Collider object not necessary without DBVT_BP_ACCURATESLEEPING defined
2017-05-04 05:22:00 +10:00
Erwin Coumans
af6bf8ddc8
plumb URDF/SDF audio_source into PhysicsServerCommandProcessor, allow to play sounds on collision !
...
See also https://youtu.be/eppOjTfx5Jg for a first test, and this modified URDF how to add sounds:
https://github.com/bulletphysics/bullet3/blob/master/data/plane_with_collision_audio.urdf
Add the --audio flag to enable sound in pybullet/Bullet-C-API
2017-05-01 11:14:09 -07:00
Erwin Coumans
e32debdca4
improvements in MJCF importer: fix capsule shape inertia (for fromto definition)
...
add cylinder support
don't crash when no "quat" is provided
inertia fix in btMinkowskiSumShape (based on AABB)
2017-04-05 12:22:38 -07:00
nicolaichuk
1122afc2f4
Merge branch 'Branch_2.86.1'
2017-03-30 01:48:39 +03:00
nicolaichuk
ccecb4db62
revert add compare operation
2017-03-30 01:47:43 +03:00
nicolaichuk
2466df1c5a
Merge branch 'Branch_2.86.1'
2017-03-29 18:21:42 +03:00
nicolaichuk
f30464ebcb
Revert "add compare operators in btAABB"
...
This reverts commit 18f17be47d .
2017-03-29 18:20:36 +03:00
nicolaichuk
34228bb355
Merge branch 'Branch_2.86.1'
2017-03-23 17:48:23 +03:00
nicolaichuk
f68f821c89
rename Sructs to Structs
2017-03-23 17:47:44 +03:00
nicolaichuk
71e411c2ca
fix warning "This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library"
2017-03-23 14:38:45 +03:00
nicolaichuk
5527e36139
Merge remote-tracking branch 'remotes/bulletphysics/master'
...
# Conflicts:
# src/BulletCollision/CollisionDispatch/btCollisionWorldImporter.h
2017-03-23 14:28:49 +03:00
nicolaichuk
703e66727c
irr_simd_memcpy to gim_simd_memcpy
2017-03-23 14:22:18 +03:00
nicolaichuk
18f17be47d
add compare operators in btAABB
2017-03-23 14:21:49 +03:00
nicolaichuk
233dd51e02
update CMakeLists.txt
2017-03-23 14:19:13 +03:00
nicolaichuk
d26952acac
add additional callback
2017-03-23 14:18:50 +03:00
nicolaichuk
1897939ec7
remove unimplemented method
2017-03-23 14:17:57 +03:00
nicolaichuk
db065b8af8
fix redefinition
2017-03-23 14:15:51 +03:00
nicolaichuk
74b1044a05
move constructor for abstract class in protected
2017-03-23 14:14:14 +03:00
nicolaichuk
9360f1dca2
"btGImpactQuantizedBvh.h" divided into two files "btGImpactQuantizedBvh.h" and "btGImpactQuantizedBvhSructs.h"
2017-03-23 14:11:55 +03:00
nicolaichuk
3472a61216
"btGImpactBvh.h" divided into two files "btGImpactBvh.h" and "btGImpactBvhSructs.h"
2017-03-23 14:11:02 +03:00
nicolaichuk
b859ad7e4f
"btContactProcessing.h" divided into two files "btContactProcessing.h" and "btContactProcessingSructs.h"
2017-03-23 14:10:17 +03:00
nicolaichuk
c7834e8e25
"btAxisSweep3.h" divided into two files "btAxisSweep3.h" and "btAxisSweep3Internal.h"
2017-03-23 14:08:54 +03:00
Erwin Coumans
0b017b0f53
fix issue with btMultiBody friction in combination with soft contacts (friction should not re-use normal contact cfm/erp)
...
implement friction anchors, position friction correction, disabled by default. Use colObj->setCollisionFlag(flag | CF_HAS_FRICTION_ANCHOR); See test/RobotClientAPI/SlopeFrictionMain.cpp. In URDF or SDF, add <friction_anchor/> in <contact> section of <link> to enable.
PhysicsServer: properly restore old activation state after releasing picked object
btMultiBodyConstraintSolver: disable flip/flop of contact/friction constraint solving by default (it breaks some internal flaky unit tests)
2017-03-20 10:58:07 -07:00
Erwin Coumans
bbefc8fe7e
Apply temporary stack-memory optimization, thanks to Jim Tillander
...
(old pull request 316 https://github.com/bulletphysics/bullet3/pull/316 )
You can disable this in the build system, by adding preprocessor define 'BT_DISABLE_STACK_TEMP_MEMORY'
2017-03-13 22:27:37 -07:00
erwincoumans
11975ec60b
Merge pull request #259 from AlexanderPolyakov/master
...
Fix for use of uninitialized variables.
2017-03-13 21:57:03 -07:00
erwincoumans
644e510c83
Fix Issue 997
2017-03-08 12:38:27 -08:00