luiscuenca
a6dce5dd84
Merge branch 'master' into multiSphereAvatar04
2019-01-28 17:48:22 -07:00
Andrew Meadows
c9ef439a7f
fix more grab bugs
2019-01-25 08:46:24 -08:00
luiscuenca
4a8bbd79fe
other avatars motion states
2018-12-30 10:53:28 -07:00
Andrew Meadows
bd6f00e707
eliminate angular dynamics of other-avatars
2018-08-01 11:58:52 -07:00
Andrew Meadows
c939699879
ignore other-avatar angularVelocity in physics simulation
2018-08-01 11:22:58 -07:00
Andrew Meadows
9c32a38fb6
fix deactivation slow-spinning kinematics
2018-07-02 15:04:11 -07:00
Andrew Meadows
085130e3c9
avatars collide again again
2018-06-18 13:17:32 -07:00
Clement
920263ef49
Merge branch 'stable' of https://github.com/highfidelity/hifi into new-master
2018-06-12 17:00:25 -07:00
Andrew Meadows
ed62a2fc37
_lastKinematicStep now mutable, avoids explicit const_cast
2018-05-25 08:31:09 -07:00
Andrew Meadows
31dd59d212
double bits in collision groups
2018-05-24 11:28:52 -07:00
Andrew Meadows
6de175e794
avatars collide again
2018-05-11 17:01:48 -07:00
Andrew Meadows
5a5376c3d5
untangle 'bidding' from 'owned'
2018-03-30 13:18:32 -07:00
Andrew Meadows
4e0f307dc0
quint8 --> uint8_t
2018-03-30 13:18:32 -07:00
David Rowe
1fb02d15d7
Entities actions JSDoc
2018-02-27 14:12:20 +13:00
LaShonda Hopper
8cc20e6b71
Minor: Fixes comment typo.
...
Changes to be committed:
modified: libraries/physics/src/ObjectMotionState.h
2017-10-24 14:16:24 -04:00
Seth Alves
142739eec7
Merge pull request #10602 from AndrewMeadows/simulation-ownership-002
...
fixes for some simulation ownership problems
2017-06-02 14:23:19 -07:00
Andrew Meadows
e34f979ed9
add EntityMotionState::isLocallyOwned() for cleaner logic
2017-06-01 17:39:21 -07:00
Andrew Meadows
5378cbead6
make ObjectMotionState dtor virtual
2017-05-25 13:47:03 -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
Andrew Meadows
32c367b644
use 'using' rather than 'typedef'
2017-04-28 10:18:15 -07:00
Andrew Meadows
2541bfb1a8
only create collision events for owned entities
2017-01-30 13:21:23 -08: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
b2dfa49a6f
stubbery for alerting entity that shape changed
2016-08-24 22:25:45 -07:00
Andrew Meadows
1ed76ae442
added virtual ObjectMotionState::setShape()
2016-08-24 22:25:45 -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
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
99a1310711
change properties at 127 priority, grab at 128
2016-03-08 22:17:44 -08:00
Seth Alves
09dd3e2a56
merge from upstream, respond to code review
2016-01-19 14:38:22 -08: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
e1ba4ff0a8
add CollisionMask entity property
2016-01-12 15:08:52 -08:00
Andrew Meadows
36e19b43c9
add some comments; specify const and overrides
2016-01-07 10:19:46 -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
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
b75e053e9d
Add automatic CCD activation to the physics engine
2015-11-03 11:01:51 -08:00
Andrew Meadows
f652e983a9
flag kinematic objs when changed in stepSimulation()
2015-10-30 14:53:29 -07:00
Seth Alves
93503d0a21
make kinematic grab set entities kinematic in bullet and update entity position
2015-10-30 11:03:13 -07:00
Seth Alves
6f30a3c178
new method -- ObjectMotionState::getBodyLinearVelocityGTSigma
2015-10-19 13:56:30 -07:00
Andrew Meadows
fa17b77d70
move DIRTY_FLAGS out of EntityItem namespace
2015-10-15 09:34:09 -07:00
Andrew Meadows
ef7e908675
allow dynamic objects to be set collisionless
2015-10-01 08:56:04 -07:00
Seth Alves
6db0442fda
allow for asynchronous building of collision shape
2015-08-21 10:48:26 -07:00
Andrew Meadows
e18506c77f
promote volunteer priority
...
also remove some cruft
change uint8_t to be quint8
2015-06-26 22:00:43 -07:00
Andrew Meadows
cf74dbe1dc
partial progress toward sim ownership negotiations
...
works well for just a few objects but fails for piles
committing some debug stuff that will have to be torn out later
2015-06-26 21:57:04 -07:00
Andrew Meadows
2579247c34
claim ownership faster for scripted manipulations
2015-06-26 21:57:04 -07:00