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
Seth Alves
a2399ea1f6
keep small masses from introducing NaN into bullet's calculations
2018-06-08 16:07:01 -07:00
Andrew Meadows
1612d90cd3
minor DynamicsWorld optimizations and track global steps count therein
2018-05-25 08:31:09 -07:00
Andrew Meadows
31dd59d212
double bits in collision groups
2018-05-24 11:28:52 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Anthony J. Thibault
4fa9af5534
Added items to the developer menu for debugging physics
...
Hooked up Bullet's internal debug draw functionality to our client.
Under the Developer > Physics Menu there are five new items:
* Show Bullet Collision - will draw all collision shapes in wireframe. WARNING: can be slow on large scenes.
* Show Bullet Bounding Boxes - will draw axis aligned bounding boxes around all physics shapes.
* Show Bullet Contact Points - will draw all contact points where two or more objects are colliding.
* Show Bullet Constraints - will render wire frame axes for each constraint connecting bodies together.
* Show Bullet Constraint Limits - will render the joint limits for each constraint.
2018-05-02 10:51:00 -07:00
Andrew Meadows
ace32193b4
more correct stat names
2018-04-16 13:31:36 -07:00
Andrew Meadows
5a5376c3d5
untangle 'bidding' from 'owned'
2018-03-30 13:18:32 -07:00
Andrew Meadows
623a29b14a
add ownership infection for constraints
2018-01-04 16:48:06 -08:00
Andrew Meadows
406bf7898d
cleanup prof stats and trace context names
2017-12-11 11:31:00 -08:00
Andrew Meadows
2538204b1e
expose physics simulation stats to Test JS API
2017-12-11 11:31:00 -08:00
Andrew Meadows
4540e9e483
add ability to save simulation stats to file
2017-12-11 11:31:00 -08:00
Andrew Meadows
fcff9d7e36
use class hierarchy instead of lambdas
2017-12-11 11:31:00 -08:00
Andrew Meadows
068d04c58d
abstraction of recursion through bullet perf stats
2017-12-11 11:31:00 -08: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
74827fc4c8
recently moved static objects added to changelist
...
since static objects are not active this will make the interface
release ownership of recently changed static objects
2017-06-01 17:39:21 -07:00
Andrew Meadows
c22e4ef883
rename method to clarify where it is called
2017-05-25 13:48:19 -07:00
Andrew Meadows
a31a861e19
fix typo: physcis --> physics
2017-05-05 09:33:50 -07:00
Andrew Meadows
2441536de3
remove Avatar dependency on AvatarMotionState
2017-04-27 13:16:49 -07:00
Seth Alves
b4ff3a8691
don't destroy and recreate constraints when reinserting rigid body
2017-04-15 21:08:59 -07:00
Seth Alves
f08fecbfa7
make sure new constraint data gets transmitted over network
2017-04-14 16:25:27 -07:00
Seth Alves
2dab3069da
fix bug that was causing spring action to cause constant re-insertion of its rigidbody into bullet. store UUIDs rather than shared pointers in _objectDynamicsByBody so that refcounting works right and actions get their destructors called.
2017-04-14 11:06:40 -07:00
Seth Alves
f5a5369055
attempt to remove dynamics associated with a rigid-body before removing the rigid-body
2017-04-14 07:06:53 -07:00
Seth Alves
52aee63e05
keep track of objectDynamics per rigidBody
2017-04-14 06:08:58 -07:00
Seth Alves
afa8fc161b
allow hinge constraint between two entities
2017-04-13 15:37:28 -07:00
Seth Alves
74c0a70cb0
rename base action classes to dynamics, start on constraints
2017-04-11 20:39:13 -07:00
Brad Hefta-Gaub
bc5d7d8698
Merge pull request #9851 from AndrewMeadows/simulation-ownership-2
...
zero velocity of deactivated dynamic entities
2017-03-20 10:20:11 -07:00
Andrew Meadows
2c141fd555
more correct comment
2017-03-10 09:18:29 -08:00
Andrew Meadows
8ddcae2a15
restore transform of deactivated entities
2017-03-09 17:26:53 -08:00
Andrew Meadows
ffe69acb5c
fix rare physics crash
2017-03-08 19:26:12 -08:00
Andrew Meadows
aa8e7d27db
move depth filtering closer to source
2017-01-30 13:21:23 -08:00
Andrew Meadows
b5537304a3
more correct CONTINUE collision event filter
2017-01-30 13:21:23 -08:00
Andrew Meadows
2541bfb1a8
only create collision events for owned entities
2017-01-30 13:21:23 -08:00
Andrew Meadows
2162a364a9
minor cleanup
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
e44672180a
add Bullet profile info to PerformanceTimer stats
2016-10-21 13:22:22 -07:00
Andrew Meadows
25fb7aacad
ShapeManager hands out const shape pointers
2016-08-24 22:26:56 -07:00
Seth Alves
56726183f6
clear internal bullet flag before switching entity to kinematic
2016-07-19 16:45:57 -07:00
Atlante45
f65b15803a
Fix potential iterator invalidation
2016-05-05 15:04:39 -07:00
Andrew Meadows
afcf6d68a7
move deactivation thresholds to shared header
2016-04-22 09:38:43 -07:00
Andrew Meadows
8cbec06616
fix bug where kinematic objs pop on first step
2016-04-22 09:38:43 -07:00
Andrew Meadows
771727890c
more finely grained Bullet profiling
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
Andrew Meadows
dcf28937cf
cleanup cached Physics::sessionUUID
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
20914df330
fix warning about signed/unsigned comparison
2016-04-01 13:31:14 -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