Andrew Meadows
a0841c937c
fix logic around updating off-thread shapes
2019-05-06 17:37:35 -07:00
Andrew Meadows
3eed8218ca
overhaul of MotionState and shape creations
2019-05-06 17:37:35 -07:00
luiscuenca
95fca826a5
Add fit AABox for avatar and implement multisphere on shapeManager
2019-01-09 17:49:19 -07:00
luiscuenca
f19201fc92
Other avatar detailed collisions on motion state
2019-01-08 14:09:13 -07:00
luiscuenca
4a8bbd79fe
other avatars motion states
2018-12-30 10:53:28 -07:00
Andrew Meadows
c6cde2d412
don't assign null Shape to RigidBody already in physics simulation
2018-11-05 11:19:15 -08:00
Andrew Meadows
c939699879
ignore other-avatar angularVelocity in physics simulation
2018-08-01 11:22:58 -07:00
Andrew Meadows
cf04a91a83
use smaller CCD spheres for thin objects
2018-07-27 09:02:19 -07:00
Andrew Meadows
9c32a38fb6
fix deactivation slow-spinning kinematics
2018-07-02 15:04:11 -07:00
Andrew Meadows
93ac70ead4
avoid crash in inertia calculation of btBvhTriangleMeshShape
2018-06-15 10:28:12 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Andrew Meadows
971855e6bf
add asserts to catch dangling pointers sooner
2017-05-25 14:29:14 -07:00
samcake
c449229850
Cleaned up the counters for memory
2017-05-19 17:52:56 -07:00
Andrew Meadows
d065b569d3
support for variable avatar mass by size
2017-05-16 16:03:51 -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
daff897fc4
const shapes, and use *MotionState::setShape()
2016-08-24 22:26:56 -07:00
Andrew Meadows
1ed76ae442
added virtual ObjectMotionState::setShape()
2016-08-24 22:25:45 -07:00
Andrew Meadows
4c9ec7ca43
protect physics against bad entity properties
2016-06-21 13:55:11 -07:00
Andrew Meadows
8cbec06616
fix bug where kinematic objs pop on first step
2016-04-22 09:38:43 -07:00
Andrew Meadows
bb59860cfe
update Aabb's of static objects when they move
2016-04-14 11:18:10 -07:00
Seth Alves
69bb0ebd74
Revert "faster kinematic motion for entities"
2016-04-04 16:11:54 -07:00
Andrew Meadows
7ea81f3937
add and fix comments
2016-04-03 19:15:01 -07:00
Andrew Meadows
25fbf926df
CollisionWorld only updates _active_ Aabbs
...
we manually set/clear active state of static objects
that need their Aabbs updated
also fixing a bug when starting kinematic motion
2016-04-01 13:14:03 -07:00
Andrew Meadows
8b420adbc8
namechange MotionType to PhysicsMotionType
2016-01-15 15:21:25 -08:00
Andrew Meadows
6c49d81475
collision mask bit reinterpretation
...
also cache sessionID in static methods inside PhysicsEngine
2016-01-12 15:08:52 -08:00
Andrew Meadows
6eb177091b
overhaul of MotionState cleanup
...
Moved MotionState deletes out of PhysicsEngine.
EntityMotionStates are deleted by the PhysicsEntitySimulation.
AvatarMotionStates are deleted in the Avatar dtor.
2016-01-07 10:19:46 -08:00
Andrew Meadows
4208380d1c
namechange
2016-01-07 10:19:46 -08:00
Stephen Birarda
2acfbd0f8f
revert accidental CCD change
2015-11-30 15:52:03 -08:00
Stephen Birarda
f07314f4ef
resolve conflicts on merge with huffman/baseball
2015-11-30 13:34:36 -08:00
Andrew Meadows
527408c7c1
Merge pull request #6292 from huffman/physics-continuous-collision-detection
...
Physics continuous collision detection
2015-11-25 15:45:18 -08:00
Andrew Meadows
e26081e981
always update physics properties when they change
...
and move activation check logic to MotionState
2015-11-24 10:20:19 -08:00
Ryan Huffman
510189dfbc
Update CCD motion threshold
2015-11-17 15:08:05 -08:00
Ryan Huffman
7c5f0bb620
Update RADIUS_MOTION_THRESHOLD_MULTIPLIER
2015-11-10 08:51:22 -08:00
Ryan Huffman
c0a7da0b88
Add comment to ObjectMotionState::updateCCDConfiguration
2015-11-03 11:22:15 -08:00
Ryan Huffman
b410604475
Add comments to updateCCDConfiguration
2015-11-03 11:18:38 -08:00
Ryan Huffman
b75e053e9d
Add automatic CCD activation to the physics engine
2015-11-03 11:01:51 -08:00
Ryan Huffman
f4531759be
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-02 12:27:08 -08:00
Andrew Meadows
f652e983a9
flag kinematic objs when changed in stepSimulation()
2015-10-30 14:53:29 -07:00
Ryan Huffman
001400908d
Add automatic CCD activation to the physics engine
2015-10-23 13:37:49 -07:00
Seth Alves
6f30a3c178
new method -- ObjectMotionState::getBodyLinearVelocityGTSigma
2015-10-19 13:56:30 -07:00
Seth Alves
113321184d
if model RegistrationPoint doesn't match entityItem's, update it
2015-10-19 12:21:26 -07:00
Seth Alves
ac99005602
reverting a change to try to see sticking problem again
2015-10-19 12:13:08 -07:00
Seth Alves
26dcaeb056
try another way of fixing held object snagging at slow velocity
2015-10-19 10:10:43 -07:00
Seth Alves
742e48b0c8
try another way of fixing held object snagging at slow velocity
2015-10-19 09:48:34 -07:00
Andrew Meadows
fa17b77d70
move DIRTY_FLAGS out of EntityItem namespace
2015-10-15 09:34:09 -07:00
Seth Alves
6db0442fda
allow for asynchronous building of collision shape
2015-08-21 10:48:26 -07:00
Andrew Meadows
55207a8fb1
enforce coding standards
2015-07-09 11:59:28 -07:00
Andrew Meadows
46bca30698
MotionState reports zero velocity for slow objects
...
This reduces the number of updates for an Entity that is effectively
at rest due to a balance between some spring action and gravity, but
nevertheless has a slight non-zero velocity at the end of each
simulation step.
2015-07-09 11:34:27 -07:00