Roxanne Skelly
0ac597d76e
BUGZ-87 - loading/physics stuck when entering domain
...
A race condition was occurring when multiple entities using
the same models were handed over to physics around the same time.
The first model is passed to a worker thread to turn it into a shape
and subsequent models note they are the same and don't create a shape
or worker thread.
The physics system was ignoring these, never marking them as ready
for physics.
2019-05-14 16:14:44 -07:00
Andrew Meadows
72c6cad581
cleanup _deadWorker in dtor, more correct _nextOrphanExpiry
2019-05-07 15:15:53 -07:00
Andrew Meadows
3c8c68d187
track EntityItem adds to physcis with pending shape
2019-05-06 17:35:57 -07:00
Andrew Meadows
8445eaf310
protect against orphaned off-thread-assembled shapes
2019-05-06 17:35:57 -07:00
Andrew Meadows
fbd4db5505
build StaticMeshShapes outside of mainloop
2019-05-06 17:35:57 -07:00
Andrew Meadows
d4c52e4b1c
fix implicit cast warning for Visual Studio
2019-02-12 15:37:09 -08:00
Andrew Meadows
c9b142531b
add more tracing details in PrePhysics
2019-02-12 15:37:09 -08:00
Andrew Meadows
a3567dea3a
clean HashKey API, reduce dependency tree
2019-02-12 15:37:09 -08:00
Andrew Meadows
17ab0cb92e
more robust ShapeManager garbage collector
2019-02-12 15:37:09 -08:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Andrew Meadows
45e571dd02
cleanup ShapeInfo::getHash()
2017-10-27 07:52:51 -07:00
Andrew Meadows
2299bb7718
supply minimum shape rather than null
2017-07-06 10:37:44 -07:00
Andrew Meadows
a31a861e19
fix typo: physcis --> physics
2017-05-05 09:33:50 -07:00
Anthony J. Thibault
89ae3b3d6e
Revert "Merge pull request #8691 from highfidelity/out-of-body-experience"
...
This reverts commit efe9571ab8
, reversing
changes made to 333e9ec7f4
.
2016-12-05 15:18:03 -08:00
Andrew Meadows
2bbe2be516
fix spelling: physcis --> physics
2016-12-01 10:50:10 -08:00
Andrew Meadows
25fb7aacad
ShapeManager hands out const shape pointers
2016-08-24 22:26:56 -07:00
Andrew Meadows
e086792eac
enforce coding standards
2016-08-24 22:25:45 -07:00
Andrew Meadows
a519b77ae7
add SHAPE_TYPE_MESH and build mesh shapes
2016-06-20 17:29:20 -07:00
Andrew Meadows
ecfe198e35
patch btCompoundShape memory leak
2016-03-23 14:39:49 -07:00
Andrew Meadows
119ef24d5d
cleanup ShapeManager API and fix bitrot in tests
2016-03-23 14:39:49 -07:00
Andrew Meadows
f6721aa6eb
moved ShapeInfoUtil to be ShapeFactory
2015-05-21 15:53:16 -07:00
Andrew Meadows
7da1c51877
whoops, missed a file
2015-04-14 14:55:42 -07:00
Seth Alves
4ada3fc9a4
don't keep large things out of physics engine
2015-04-09 15:12:51 -07:00
Seth Alves
55bab2efd6
put physics into its own logging group
2015-04-06 18:09:45 -07:00
Seth Alves
859628a4fd
fix comment
2015-03-31 17:20:16 -07:00
Seth Alves
05cb0b830c
make max collision size be 1000x1000x1000 rather than 100x100x100
2015-03-31 16:59:43 -07:00
Seth Alves
e730109c51
quiet debuging spew
2015-03-30 11:46:48 -07:00
Seth Alves
90f51e7d4c
print a warning when ShapeManager is skipping over a too-large or too-small shape
2015-03-27 16:15:54 -07:00
Seth Alves
719dae61a9
when a compound shape is deleted, delete the children, as well
2015-03-25 06:51:00 -07:00
Andrew Meadows
e4c6d49c4d
ShapeManager can release shape by pointer
2015-03-13 16:36:18 -07:00
Andrew Meadows
f4a4c9786c
don't create shape for SHAPE_TYPE_NONE
2015-02-11 08:43:55 -08:00
Andrew Meadows
12a7021bb5
ShapeInfo computs own DoubleHashKey, gets new API
2015-02-08 15:12:44 -08:00
Andrew Meadows
ff171a5782
Bullet is now required dependency
2015-01-15 10:27:43 -08:00
Andrew Meadows
8d49b694cc
ShapeManager doesn't support tiny and giant shapes
2014-12-03 10:08:26 -08:00
Andrew Meadows
919214b7cb
split ShapeInfo into shared and physics parts
2014-12-02 10:44:40 -08:00
Andrew Meadows
8aba2a06e0
Splitting Bullet stuff out of ShapeInfo
2014-12-01 16:47:33 -08:00
Andrew Meadows
57e972d876
ShapeKey now derives from DoubleHashKey
2014-11-04 14:54:35 -08:00
Andrew Meadows
b1b6188bb8
ShapeManager has improved HashMap
2014-11-03 14:01:19 -08:00
Andrew Meadows
d26540b029
ShapeManager now under unit test
2014-10-31 17:13:17 -07:00
Andrew Meadows
50a97849bb
Add PhysicsWorld and ShapeManager classes
2014-10-30 10:42:44 -07:00