Andrew Meadows
|
646661d037
|
update body gravity when proper dirty bits are set
|
2015-05-06 11:46:25 -07:00 |
|
Andrew Meadows
|
2668ff6d0a
|
check for DIRTY_ROTATION bit when copying rotation
|
2015-05-05 15:34:50 -07:00 |
|
Andrew Meadows
|
aa5a59c3dc
|
merge upstream/master into andrew/nova
Conflicts:
libraries/entities/src/EntityItem.cpp
libraries/physics/src/PhysicsEngine.cpp
|
2015-05-05 10:24:17 -07:00 |
|
Atlante45
|
fc1519c078
|
Quiet compiler
|
2015-05-04 16:49:33 +02:00 |
|
Andrew Meadows
|
b023fe582a
|
make things compile
|
2015-05-01 10:44:50 -07:00 |
|
Andrew Meadows
|
4cb469dd79
|
cleanup how MotionStates are deleted from physics
also fixed some compile errors
removed cruft
|
2015-05-01 08:28:32 -07:00 |
|
Andrew Meadows
|
195dd1420c
|
DIRTY_PHYSICS_ACTIVATION not DIRTY_PHYSICS_NO_WAKE
also add separate flag for rotation
and separate flags for linear vs angular velocity
and some combined flag masks for convenience
|
2015-04-30 13:17:13 -07:00 |
|
Andrew Meadows
|
c3901939e6
|
make some things compile after reorganization
|
2015-04-30 13:02:18 -07:00 |
|
Andrew Meadows
|
31ab16ac62
|
move stuff into ObjectMotionState
|
2015-04-29 16:16:44 -07:00 |
|
Andrew Meadows
|
ab38572620
|
new PhysicsEngine API is mostly in place
doesn't compile, of course
large code movements are done
non-physical kinematics have been lost --
will readd in PhysicalEntitySimuation class
|
2015-04-29 09:48:02 -07:00 |
|
Andrew Meadows
|
e3d29d74af
|
name changes and preparation for more cleanup
|
2015-04-26 15:24:30 -07:00 |
|
Andrew Meadows
|
3ecf959b3e
|
removed cached copies of damping and restitution
|
2015-04-24 14:50:37 -07:00 |
|
Seth Alves
|
b3cb9fe9a4
|
fix comment some more
|
2015-04-17 15:33:41 -07:00 |
|
Seth Alves
|
dac57c44da
|
if measured acceleration is close to zero, send zero to entity server, else send gravity
|
2015-04-17 15:05:47 -07:00 |
|
Andrew Meadows
|
619d1ba191
|
rename to measureAcceleration
|
2015-04-16 14:09:33 -07:00 |
|
Andrew Meadows
|
b7ca69d4e1
|
fix typo
|
2015-04-16 13:46:26 -07:00 |
|
Andrew Meadows
|
5180e7e715
|
measure linear velocity of moving objects
|
2015-04-16 13:44:17 -07:00 |
|
Seth Alves
|
55bab2efd6
|
put physics into its own logging group
|
2015-04-06 18:09:45 -07:00 |
|
Andrew Meadows
|
58bb137c4d
|
bulletRotationStep --> computeBulletRotationStep
|
2015-01-27 17:37:12 -08:00 |
|
Andrew Meadows
|
23bd3f90d9
|
Bullet-style rotation integration for kinematics
and for dead reckoning after wire-transfer
|
2015-01-27 17:27:15 -08:00 |
|
Andrew Meadows
|
d1cf6559c5
|
merge upstream/master into andrew/isentropic
Conflicts:
libraries/physics/src/ObjectMotionState.cpp
|
2015-01-27 16:24:11 -08:00 |
|
Andrew Meadows
|
aebdd3b335
|
fix bad extrapolation of rapidly spinning objects
|
2015-01-27 15:53:37 -08:00 |
|
ZappoMan
|
f85774c687
|
adding some debugging
|
2015-01-26 09:45:33 -08:00 |
|
Andrew Meadows
|
d173afaa70
|
add support for non-physical kinematic movement
|
2015-01-23 11:01:46 -08:00 |
|
Andrew Meadows
|
86583f3f3f
|
physics collisions emit script collision events
|
2015-01-21 11:27:32 -08:00 |
|
Andrew Meadows
|
790d07d346
|
track known contacts and generate collision events
|
2015-01-20 14:18:10 -08:00 |
|
Andrew Meadows
|
549e3fac5f
|
store backpointer to MotionState in btRigidBody
|
2015-01-20 10:45:58 -08:00 |
|
Andrew Meadows
|
d5119b3532
|
merge upstream/master into andrew/bispinor
Conflicts:
libraries/entities/src/EntityItem.cpp
libraries/physics/src/EntityMotionState.h
libraries/physics/src/ObjectMotionState.cpp
libraries/physics/src/PhysicsEngine.cpp
libraries/physics/src/PhysicsEngine.h
|
2015-01-16 14:36:27 -08:00 |
|
Andrew Meadows
|
3fed38793e
|
merge andrew/origin/inertia to andrew/local/inertia
|
2015-01-15 17:55:51 -08:00 |
|
Andrew Meadows
|
4c1cd991f4
|
remove pessimistic send of object updates
we have not yet seen the headache of packetloss and unreliable messages
|
2015-01-15 17:53:37 -08:00 |
|
Andrew Meadows
|
250fd98fee
|
support for simple kinematic motion
|
2015-01-15 17:51:01 -08:00 |
|
Andrew Meadows
|
9eb4d66327
|
remove warnings
|
2015-01-15 10:36:17 -08:00 |
|
Andrew Meadows
|
ff171a5782
|
Bullet is now required dependency
|
2015-01-15 10:27:43 -08:00 |
|
Andrew Meadows
|
03b8badd81
|
EntityItem stores density rather than mass.
|
2015-01-14 15:00:57 -08:00 |
|
Andrew Meadows
|
dcca5d532a
|
fix for glitchy physics updates
The main problem was: ObjectMotionState::_sentPosition and friends
were not being updated when the EntityServer update arrives.
|
2015-01-13 14:00:37 -08:00 |
|
Andrew Meadows
|
4946ec18b6
|
remove some TODO comments
|
2015-01-09 09:28:01 -08:00 |
|
Andrew Meadows
|
0a8437a578
|
increasing default restitution to 0.5
|
2015-01-05 17:31:23 -08:00 |
|
Andrew Meadows
|
e2884c56f5
|
only predict remote transform for moving objects
|
2015-01-05 15:16:03 -08:00 |
|
Andrew Meadows
|
244a8503ef
|
include damping in remote extrapolation model
|
2015-01-05 14:48:16 -08:00 |
|
Andrew Meadows
|
30200ef7eb
|
add damping to ObjectMotionState
|
2015-01-05 09:17:46 -08:00 |
|
Andrew Meadows
|
6f72d4ad81
|
easier to read Bullet to GLM conversions and back
|
2014-12-30 13:15:57 -08:00 |
|
Andrew Meadows
|
e43d7b7369
|
fix indentation in ctor init
|
2014-12-30 12:05:28 -08:00 |
|
Andrew Meadows
|
b3731e9530
|
hack for "reliable" packet send when objects stop moving
|
2014-12-15 14:36:27 -08:00 |
|
Andrew Meadows
|
fd8e3f6169
|
add moved entities to lists for sorting
and also for outgoing packet updates
|
2014-12-12 13:28:12 -08:00 |
|
Andrew Meadows
|
4977bfb708
|
ObjectMotionState puts self on outgoing queue
|
2014-12-11 12:40:43 -08:00 |
|
Andrew Meadows
|
572ceb75a4
|
clarification of what outgoing flags are about
|
2014-12-11 12:07:53 -08:00 |
|
Andrew Meadows
|
11f1ad1d7f
|
move worldOffset into ObjectMotionState
add more methods for getting/clearing incoming/outgoing flags
|
2014-12-11 10:52:34 -08:00 |
|
Andrew Meadows
|
ab75150175
|
moved position/velocity send history to base class
|
2014-12-10 17:00:23 -08:00 |
|
Andrew Meadows
|
3c67400e13
|
namechange CustomMotionState to ObjectMotionState
|
2014-12-03 11:12:04 -08:00 |
|