Andrew Meadows
|
5a257eb137
|
avoid crash for RenderableModelEntityItem with invalid model
|
2019-05-14 09:48:06 -07:00 |
|
Andrew Meadows
|
f60dbda25e
|
clear all HARD flags when reinserting object in PhysicsEngine
|
2019-05-08 14:48:49 -07:00 |
|
Andrew Meadows
|
72c6cad581
|
cleanup _deadWorker in dtor, more correct _nextOrphanExpiry
|
2019-05-07 15:15:53 -07:00 |
|
Andrew Meadows
|
81f960a4bd
|
remove from _physicalObjects list after transaction
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
bef053584b
|
don't forget to clear _activeStaticBodies
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
d6a20a4abd
|
fix inverted logic typo
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
53ad41e5ee
|
include <chrono> in ShapeManager.h
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
f6916edac4
|
cleanup and removing some accidental C++-20-isms
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
e770bd6142
|
build CollisionShapes and load RigidBodies even when not yet stepping
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
6e27b4d1c5
|
remove bodies of deleted entities
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
a0841c937c
|
fix logic around updating off-thread shapes
|
2019-05-06 17:37:35 -07:00 |
|
Andrew Meadows
|
915cbb69df
|
split work out of EntityTree::update(), call it preUpdate()
|
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 |
|
Andrew Meadows
|
3c8c68d187
|
track EntityItem adds to physcis with pending shape
|
2019-05-06 17:35:57 -07:00 |
|
Andrew Meadows
|
deee159892
|
unravel physics-vs-entities lib dependencies part 1
|
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 |
|
Saracen
|
3dde53f743
|
Friendlier and more understandable naming.
|
2019-04-11 03:57:34 +01:00 |
|
Saracen
|
eb8e912808
|
Added missing checks to ground and takeoff state.
|
2019-04-11 03:29:58 +01:00 |
|
Saracen
|
bce80130bd
|
Allow players to disable automatic falling to flight threshold.
|
2019-04-09 21:07:17 +01:00 |
|
Anthony Thibault
|
b8b7798ad9
|
Merge pull request #15296 from luiscuenca/kdopsRotOffsetFix
Add joint rotation offset to the avatar multi-sphere shapes
|
2019-04-05 15:55:34 -07:00 |
|
Anthony Thibault
|
0e2c5ea3c2
|
Merge pull request #15291 from luiscuenca/multiSpheresMixFix
Fix avatar multi-sphere bad scaling on some avatars
|
2019-04-05 15:55:13 -07:00 |
|
Andrew Meadows
|
1860e61a30
|
more correct collision group during grabs
|
2019-04-03 07:42:56 -07:00 |
|
luiscuenca
|
a7c36c9505
|
Merge branch 'master' into kdopsRotOffsetFix
|
2019-03-29 10:29:30 -07:00 |
|
luiscuenca
|
bea45e67cb
|
Fix multisphere scale, desyncronize visualization and support joint scaling
|
2019-03-28 17:38:17 -07:00 |
|
Shannon Romano
|
c0240d2431
|
Merge pull request #14932 from AndrewMeadows/allow-kinematic-mesh
Case 21227: don't enforce MOTION_TYPE_STATIC on mesh shapes
|
2019-03-11 15:33:32 -07:00 |
|
luiscuenca
|
79b7a3d28d
|
Apply kdop computation after reading the joint rotation offsets
|
2019-03-04 13:15:15 -07:00 |
|
Dante Ruiz
|
d33400f6ad
|
fix GCC compiler warning
|
2019-02-28 15:25:15 -08:00 |
|
SamGondelman
|
e102ad073e
|
allow flying in HMD if you would otherwise fall forever
|
2019-02-25 11:49:38 -08:00 |
|
Andrew Meadows
|
304f993391
|
remove enforcement of MOTION_TYPE_STATIC for mesh shapes
|
2019-02-15 16:50:45 -08:00 |
|
Andrew Meadows
|
7446fa9e7e
|
allow mesh shapes to use MOTION_TYPE_KINEMATIC
|
2019-02-15 15:00:09 -08:00 |
|
Sam Gondelman
|
9aa99f24f0
|
Merge pull request #14905 from SamGondelman/materialMapping
Case 20242: FST materialMapping supports our material JSON format
|
2019-02-15 11:21:51 -08:00 |
|
Andrew Meadows
|
ba91bab224
|
remove cruft
|
2019-02-13 10:05:32 -08:00 |
|
Andrew Meadows
|
d4c52e4b1c
|
fix implicit cast warning for Visual Studio
|
2019-02-12 15:37:09 -08:00 |
|
Andrew Meadows
|
8bdac589b8
|
use RingBuffer for gradual garbage collection
|
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 |
|
SamGondelman
|
77a8ddb3f0
|
Merge remote-tracking branch 'upstream/master' into materialMapping
|
2019-02-11 16:35:05 -08:00 |
|
SamGondelman
|
f7a487a020
|
move materialcache et al to material-networking library
|
2019-02-08 10:28:07 -08:00 |
|
Jeff Clinton
|
54109deab9
|
Merge pull request #14825 from SamGondelman/fall
Case 20829: Always fall when flying is not allowed
|
2019-02-07 14:39:46 -08:00 |
|
Shannon Romano
|
6fd480e51d
|
Merge pull request #14795 from AndrewMeadows/myAvatar-vs-backfacing-triangles-2
case 17773: reduce likelihood MyAvatar will get stuck in mesh geometry when flying around
|
2019-02-06 15:52:31 -08:00 |
|
SamGondelman
|
5553752d81
|
fall when flying not allowed
|
2019-01-30 18:04:44 -08:00 |
|
Seth Alves
|
f33e5ba5ae
|
cleanup
|
2019-01-30 14:47:38 -08:00 |
|
Seth Alves
|
0846eb8ec6
|
attempt to allow position edits in releaseGrab entity-method
|
2019-01-30 14:43:11 -08:00 |
|
Andrew Meadows
|
e372cb668a
|
enable CCD for MyAvatar's RigidBody
|
2019-01-29 11:11:54 -08:00 |
|
Andrew Meadows
|
fb5ef95a5b
|
disable bf triangle collisions for flying MyAvatar
|
2019-01-29 11:00:18 -08:00 |
|
luiscuenca
|
70d0ebfbec
|
Optimization
|
2019-01-28 18:39:16 -07:00 |
|
luiscuenca
|
a6dce5dd84
|
Merge branch 'master' into multiSphereAvatar04
|
2019-01-28 17:48:22 -07:00 |
|
luiscuenca
|
fced9e2814
|
Review fixes
|
2019-01-28 17:43:51 -07:00 |
|
Shannon Romano
|
607ce00713
|
Merge pull request #14766 from AndrewMeadows/grab-it
case 20701: fixes for grab
|
2019-01-28 15:57:36 -08:00 |
|
luiscuenca
|
f54f9e5bfd
|
Merge branch 'master' into multiSphereAvatar04
|
2019-01-25 13:54:01 -07:00 |
|
luiscuenca
|
df4be641eb
|
More fixes
|
2019-01-25 13:42:18 -07:00 |
|
Andrew Meadows
|
c9ef439a7f
|
fix more grab bugs
|
2019-01-25 08:46:24 -08:00 |
|
Andrew Meadows
|
aff1244e09
|
make method protected because we can
|
2019-01-23 23:19:48 -08:00 |
|
Andrew Meadows
|
b73187aed9
|
fix typo in comment
|
2019-01-23 23:19:33 -08:00 |
|
Andrew Meadows
|
d948168727
|
computeMotionType() returns KINEMATIC for things with grab
|
2019-01-23 21:30:15 -08:00 |
|
luiscuenca
|
a947c894c2
|
Suggested changes
|
2019-01-23 17:23:36 -07:00 |
|
raveenajain
|
3f2aa56187
|
feedback changes
|
2019-01-21 13:24:07 -08:00 |
|
raveenajain
|
d2e37d0c90
|
my and other avater changes, if setting toggled can pass through other avatar
|
2019-01-18 16:50:44 -08:00 |
|
luiscuenca
|
67cc5bd7f2
|
Fix warnings and wrong shapes position for myAvatar
|
2019-01-16 10:52:34 -07:00 |
|
luiscuenca
|
a7f143dbce
|
Merge branch 'master' into multiSphereAvatar04
# Resolved Conflicts:
# interface/src/avatar/MyAvatar.h
# interface/src/avatar/OtherAvatar.cpp
|
2019-01-15 18:27:04 -07:00 |
|
luiscuenca
|
71e7023a3e
|
Refactor and optimizations
|
2019-01-15 18:07:50 -07:00 |
|
luiscuenca
|
19701ef333
|
Fix scale and add rayTest
|
2019-01-11 15:36:07 -07:00 |
|
luiscuenca
|
95fca826a5
|
Add fit AABox for avatar and implement multisphere on shapeManager
|
2019-01-09 17:49:19 -07:00 |
|
John Conklin II
|
e4abb66199
|
Merge pull request #14627 from AndrewMeadows/fewer-avatar-entity-updates
case 20304: please don't flood the avatar-mixer with unnecessary AvatarEntity udpates
|
2019-01-09 14:55:23 -08:00 |
|
luiscuenca
|
39dc25ea92
|
Merge branch 'master' into multiSphereAvatar04
# Conflicts:
# interface/src/avatar/OtherAvatar.h
# libraries/avatars-renderer/src/avatars-renderer/Avatar.h
|
2019-01-08 15:41:33 -07:00 |
|
luiscuenca
|
f19201fc92
|
Other avatar detailed collisions on motion state
|
2019-01-08 14:09:13 -07:00 |
|
Andrew Meadows
|
13a3982b5a
|
fix ZoneEntityItem::contains() for model shapes
|
2019-01-04 12:38:32 -08:00 |
|
Andrew Meadows
|
a8325b5c00
|
add ZoneEntityItem::contains() and support for shapes
|
2019-01-04 12:37:23 -08:00 |
|
Andrew Meadows
|
65a7e15f5d
|
don't send AvatarEntity updates when not necessary
|
2019-01-03 17:57:11 -08:00 |
|
Seth Alves
|
9bf9e379a3
|
fix far-grab initial rotation and entity-method call
|
2019-01-03 08:17:52 -08:00 |
|
Seth Alves
|
78aff6e95c
|
grab js api; send grab information through trait system
|
2019-01-03 08:17:52 -08:00 |
|
luiscuenca
|
bd21d0589a
|
Merge branch 'master' into otherAvatarMotionStates01
|
2018-12-30 10:55:05 -07:00 |
|
luiscuenca
|
4a8bbd79fe
|
other avatars motion states
|
2018-12-30 10:53:28 -07:00 |
|
Sam Gondelman
|
b690faeb12
|
Merge branch 'master' into NOverlays
|
2018-12-06 11:29:06 -08:00 |
|
SamGondelman
|
e282d51883
|
CR
|
2018-11-26 01:15:07 -05:00 |
|
SamGondelman
|
079d1dcbd6
|
convert clientOnly to entityHost and add local entities
|
2018-11-14 11:25:37 -08:00 |
|
John Conklin II
|
0370c60398
|
Merge pull request #14358 from AndrewMeadows/fix-capsuleY
Case 18436: consistent handling of CapsuleShape dimensions
|
2018-11-12 15:25:42 -08:00 |
|
Andrew Meadows
|
91f6a5057a
|
correct capsule height when building btCapsuleShape
|
2018-11-06 12:54:56 -08:00 |
|
Andrew Meadows
|
228847b507
|
only look in _activeStaticBodies when body is static
|
2018-11-05 11:44:58 -08:00 |
|
Andrew Meadows
|
9e7b68fead
|
find and remove dangling pointers from _activeStaticBodies on remove
|
2018-11-05 11:19:15 -08:00 |
|
Andrew Meadows
|
c6cde2d412
|
don't assign null Shape to RigidBody already in physics simulation
|
2018-11-05 11:19:15 -08:00 |
|
Jeff Clinton
|
67fe43ebb1
|
Merge pull request #14243 from hyperlogic/bug-fix/small-jumping-avatars
Small avatars now have a minimum jump height of 0.25 meters
|
2018-10-24 17:08:28 -07:00 |
|
Anthony Thibault
|
ef74014075
|
Small avatars now have a minimum jump height of 0.25 meters
This should improve the quality of the jump animation and improve the mobility of small avatars.
|
2018-10-19 13:55:56 -07:00 |
|
Andrew Meadows
|
bb51079284
|
move some bid-prep logic from EntityMotionState to EntityItem
|
2018-10-18 10:33:02 -07:00 |
|
unknown
|
4313a34ff3
|
Allow avatar to fly when its scale is very small
|
2018-10-08 15:35:07 -07:00 |
|
Andrew Meadows
|
c3478dc018
|
remove expired avatarEntities from their avatars
|
2018-10-05 13:48:35 -07:00 |
|
luiscuenca
|
012cd207b3
|
No data sent during basic transit
|
2018-09-24 11:39:10 -07:00 |
|
John Conklin II
|
49e578ebef
|
Merge pull request #13998 from AndrewMeadows/dont-zero-kinematic
don't zero kinematic velocities when releasing simulation ownership
|
2018-09-14 15:18:06 -07:00 |
|
John Conklin II
|
65ef04ae75
|
Merge pull request #13937 from luiscuenca/stt_teleport_wip
Safe Teleport Target
|
2018-09-14 15:11:18 -07:00 |
|
Andrew Meadows
|
9390687e2d
|
remove redundant EntityMotionState::updateSendVelocities() call
|
2018-09-14 10:37:55 -07:00 |
|
Andrew Meadows
|
9073e1ade3
|
don't zero kinematic velocity at end of sim ownership
|
2018-09-14 10:37:17 -07:00 |
|
sabrina-shanman
|
f3d86cfc7d
|
Fix crash when teleporting into avatars with bubble active
|
2018-09-13 10:51:53 -07:00 |
|
luiscuenca
|
fa3c6932c6
|
Merge branch 'stt_collision-group' of https://github.com/sabrina-shanman/hifi into stt_teleport_wip
|
2018-09-12 11:47:18 -07:00 |
|
sabrina-shanman
|
87b5605d69
|
Add normalOnPick to CollisionPickResult
|
2018-09-12 10:36:00 -07:00 |
|
Sam Gateau
|
b92d1061c4
|
Merge pull request #13920 from AndrewMeadows/dont-bid-for-locked
don't bid for simulation ownership of locked entities
|
2018-09-04 13:26:21 -07:00 |
|
Andrew Meadows
|
727bd6b05a
|
don't bid for simulation ownership of locked things
|
2018-08-31 13:31:26 -07:00 |
|
sabrina-shanman
|
397b03d5d5
|
Add threshold parameter to collision pick with minimum of 0
|
2018-08-27 14:12:24 -07:00 |
|
Andrew Meadows
|
10d0833c19
|
use DynamicsWorld::numCollisionObjects instead of our own count
|
2018-08-23 15:57:54 -07:00 |
|
Andrew Meadows
|
777b90bdc0
|
add 'physics body count' to debug stats
|
2018-08-23 12:59:28 -07:00 |
|
Andrew Meadows
|
87223946ad
|
add/remove avatars according to workload region
|
2018-08-23 12:59:28 -07:00 |
|
John Conklin II
|
e6c81cdfba
|
Merge pull request #13833 from sabrina-shanman/stt_performance
Performance improvements for Collision Pick API
|
2018-08-20 17:34:46 -07:00 |
|
Andrew Meadows
|
3068865a6c
|
fix MyAvatar collision bug at transitions b/w meshes
|
2018-08-20 11:42:28 -07:00 |
|
sabrina-shanman
|
74f482b361
|
Revert "Convert entityIntersections/avatarIntersections lists in"
This reverts commit aa4a6b2eae .
|
2018-08-20 10:15:28 -07:00 |
|
sabrina-shanman
|
2933038d04
|
Rename PhysicsEngine::getCollidingInRegion to contactTest and change it to accept collision flags instead of a MotionState enum
|
2018-08-17 14:22:42 -07:00 |
|
sabrina-shanman
|
aa4a6b2eae
|
Convert entityIntersections/avatarIntersections lists in
CollisionPickResult to shared pointers
|
2018-08-16 08:59:29 -07:00 |
|
sabrina-shanman
|
61d12923ea
|
Do not copy list of collision pick contact points when filtering them
|
2018-08-15 11:12:50 -07:00 |
|
sabrina-shanman
|
83ededfd37
|
Pass collision filter flags into AllContactsCallback for more efficient collision filtering
|
2018-08-15 11:12:50 -07:00 |
|
sabrina-shanman
|
2576d502ab
|
Remove unused getter for btCollisionWorld in PhysicsEngine
|
2018-08-13 17:27:57 -07:00 |
|
sabrina-shanman
|
e5cb078133
|
Merge branch 'master' of github.com:highfidelity/hifi into safe-teleport-target
|
2018-08-13 14:51:37 -07:00 |
|
sabrina-shanman
|
ad36e23c34
|
Return early when colliding MyAvatar is found in AllContactsCallback
|
2018-08-09 17:00:54 -07:00 |
|
sabrina-shanman
|
6249d1c3aa
|
Initialize btCollisionWorld::ContactResultCallback BEFORE AllContactsCallback variables
|
2018-08-08 10:32:26 -07:00 |
|
Andrew Meadows
|
49a1d0a18a
|
MyAvatar RigidBody ignores backfacing triangles
|
2018-08-08 09:11:09 -07:00 |
|
sabrina-shanman
|
4ffe164569
|
Address Mac/Linux build warnings
|
2018-08-08 08:56:35 -07:00 |
|
sabrina-shanman
|
870940b3a0
|
Merge branch 'master' into safe-teleport-target
|
2018-08-03 18:14:43 -07:00 |
|
sabrina-shanman
|
b7d5804edb
|
Format if..else statements
|
2018-08-03 12:55:11 -07:00 |
|
sabrina-shanman
|
0b40608650
|
Fix collision picks not working with MyAvatar
|
2018-08-03 12:05:58 -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 |
|
sabrina-shanman
|
de7d974336
|
Re-name EntityIntersection to ContactTestResult and remove its default constructor, plus update related variables
|
2018-07-30 16:45:31 -07:00 |
|
sabrina-shanman
|
41a8deb575
|
Fix Linux build warnings
|
2018-07-30 14:51:04 -07:00 |
|
John Conklin II
|
df917688b6
|
Merge pull request #13707 from AndrewMeadows/fix-ccd
more correct continuous collision detection for thin objects
|
2018-07-27 14:32:41 -07:00 |
|
Andrew Meadows
|
cf04a91a83
|
use smaller CCD spheres for thin objects
|
2018-07-27 09:02:19 -07:00 |
|
sabrina-shanman
|
8f993e4740
|
Change meaning/naming of collision points in CollisionPick API to better match spec and be more clear
|
2018-07-25 11:45:13 -07:00 |
|
sabrina-shanman
|
5ec277e458
|
Move bullet references in collision pick API to PhysicsEngine
|
2018-07-24 15:47:49 -07:00 |
|
sabrina-shanman
|
f33ee55f9e
|
Create CollisionPick API
|
2018-07-19 10:33:21 -07:00 |
|
Andrew Meadows
|
207aea8712
|
remove cruft from rendering collision shapes
|
2018-07-16 10:29:34 -07:00 |
|
John Conklin II
|
8669b529dc
|
Merge pull request #13592 from luiscuenca/blueScreenFix
Fix blue screen in VR mode due to NaN values
|
2018-07-13 09:12:47 -07:00 |
|
luiscuenca
|
45f8ed010c
|
formatting
|
2018-07-12 16:03:15 -07:00 |
|
luiscuenca
|
1ab6c7a8ac
|
Proper fix
|
2018-07-12 14:00:55 -07:00 |
|
luiscuenca
|
ced4e1e0e0
|
Fix blue screen after player step returns NaN values
|
2018-07-11 18:02:19 -07:00 |
|
Andrew Meadows
|
8ea18e3359
|
integrate active kinematic even when grabbed
|
2018-07-10 11:20:18 -07:00 |
|
Andrew Meadows
|
9171fcbe8b
|
explicit insert/erase into _simpleKinematicEntities
|
2018-07-10 11:17:13 -07:00 |
|
John Conklin II
|
1bd698a5dc
|
Merge pull request #13558 from danteruiz/fix-falling-through-floor
Fix falling through floor
|
2018-07-06 13:44:08 -07:00 |
|
Dante Ruiz
|
fdf58ab2b5
|
fixing edge case
|
2018-07-06 11:09:59 -07:00 |
|
Dante Ruiz
|
3cc54c5118
|
another round of small adjustments
|
2018-07-06 09:11:42 -07:00 |
|
Dante Ruiz
|
6d8fe870e4
|
some clean up
|
2018-07-06 09:00:00 -07:00 |
|
Dante Ruiz
|
533164e1e4
|
some more fixes
|
2018-07-06 08:55:20 -07:00 |
|
Dante Ruiz
|
09627dd3d9
|
first pass on trying to fix falling through floor
|
2018-07-06 08:28:43 -07:00 |
|
luiscuenca
|
b2e02e20cc
|
Fix inaccurate delta rotation axis
|
2018-07-05 11:47:10 -07:00 |
|
Andrew Meadows
|
ff6c309d8b
|
add comment
|
2018-07-02 15:20:51 -07:00 |
|
Andrew Meadows
|
9c32a38fb6
|
fix deactivation slow-spinning kinematics
|
2018-07-02 15:04:11 -07:00 |
|
Andrew Meadows
|
5e2a08b3c2
|
handle deactivation of avatar entities differently
|
2018-06-25 10:37:54 -07:00 |
|
Sam Gondelman
|
850e2d5cf5
|
Merge branch 'master' into particleFix
|
2018-06-21 17:32:24 -07:00 |
|
John Conklin II
|
4088035b3b
|
Merge pull request #13411 from sabrina-shanman/crash-delete-cube
Fix crash when deleting objects in serverless mode
|
2018-06-21 14:39:07 -07:00 |
|
SamGondelman
|
8f411ad6c8
|
CR
|
2018-06-20 16:13:10 -07:00 |
|
sabrina-shanman
|
59833d8f28
|
Do not use boolean for variable definitions. Use bool instead.
|
2018-06-20 15:54:19 -07:00 |
|
Andrew Meadows
|
4424a8df11
|
Merge pull request #13303 from highfidelity/workload
workload project part 1
|
2018-06-20 15:39:01 -07:00 |
|
sabrina-shanman
|
c039d20304
|
Fix objects snapping back when selected
|
2018-06-20 13:55:38 -07:00 |
|