Seth Alves
|
4142d8c686
|
actions shouldn't change locked entities
|
2017-05-21 11:05:18 -07:00 |
|
Andrew Meadows
|
a31a861e19
|
fix typo: physcis --> physics
|
2017-05-05 09:33:50 -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
|
74c0a70cb0
|
rename base action classes to dynamics, start on constraints
|
2017-04-11 20:39:13 -07:00 |
|
Seth Alves
|
a47aaea37a
|
don't bootstrap self with an avatar hold action
|
2017-01-12 10:12:45 -08:00 |
|
Brad Hefta-Gaub
|
dbbed462b4
|
cleanup naked qDebug() calls
|
2016-12-19 22:24:25 -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 |
|
Seth Alves
|
a0771f8ee5
|
use smart pointers for entity simulations
|
2016-05-07 09:14:33 -07:00 |
|
Brad Hefta-Gaub
|
5244274ae4
|
fix warning
|
2016-04-20 19:06:31 -07:00 |
|
Brad Hefta-Gaub
|
31f9d592e0
|
support for larger than 35 minute clock skew
|
2016-04-20 18:42:00 -07:00 |
|
Andrew Meadows
|
b9352d3eaa
|
prevent nan inside spring action
|
2016-01-15 08:44:52 -08:00 |
|
Seth Alves
|
cf9af462b5
|
replace some logging with an assert
|
2016-01-07 10:21:39 -08:00 |
|
Seth Alves
|
b873d92469
|
try harder to ensure that a held object is active in bullet
|
2016-01-06 14:12:58 -08:00 |
|
Seth Alves
|
2c21092808
|
be more careful about locking
|
2016-01-03 07:59:49 -08:00 |
|
Seth Alves
|
d4937071e1
|
rather than activating rigid body and forcing non-static on deserialize, just force non-static
|
2015-11-23 12:17:15 -08:00 |
|
Seth Alves
|
6f19093cb9
|
if an entity with an action has a motion-type of static, flag it so it gets updated in bullet
|
2015-11-23 10:03:35 -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
|
4c64da9ce5
|
try to avoid negative roll-over when moving to or from server time
|
2015-10-27 10:27:32 -07:00 |
|
Seth Alves
|
0dff037f56
|
fuck you, const!
|
2015-10-26 13:55:07 -07:00 |
|
Seth Alves
|
8d0aaed41a
|
fix bug that was deleting actions with 0 ttl. in js interface, action parameter 'lifetime' is now called 'ttl'
|
2015-10-26 13:50:21 -07:00 |
|
Seth Alves
|
f96e9eb1e8
|
fuck you, const!
|
2015-10-19 12:04:55 -07:00 |
|
Seth Alves
|
46e5bf0435
|
take entity-server clock-skew into account when handling action expiration times
|
2015-10-19 11:59:03 -07:00 |
|
Seth Alves
|
07a4dc3a7f
|
more lock fixing
|
2015-10-14 12:49:06 -07:00 |
|
Seth Alves
|
fa2bf2b2d9
|
tighten up locking in actions
|
2015-10-14 11:43:03 -07:00 |
|
Seth Alves
|
b34ea6ded4
|
store action lifetime as an expires integer
|
2015-09-30 13:46:23 -07:00 |
|
Seth Alves
|
7c6846c260
|
add lifetime and tag arguments to actions
|
2015-09-30 13:09:41 -07:00 |
|
Andrew Meadows
|
9ce9c541de
|
fix activation of object when action changes
|
2015-07-10 18:45:40 -07:00 |
|
Andrew Meadows
|
a0a1b01ea9
|
coalesce dupe action data members: _id and _type
|
2015-07-07 17:50:08 -07:00 |
|
Andrew Meadows
|
e9df8cacc7
|
make some arguments const, cleanup some #includes
|
2015-07-07 17:50:08 -07:00 |
|
Andrew Meadows
|
77bd7b2821
|
some ObjectAction methods should be const
|
2015-07-07 17:50:08 -07:00 |
|
Seth Alves
|
c0c1116c69
|
attempt some clean-ups in edge/unexpected situations
|
2015-06-27 11:09:28 -07:00 |
|
Seth Alves
|
30be515a94
|
remove unneeded lock around action-data in entity item. Actions now use a weak pointer to keep track of owner entity
|
2015-06-27 08:53:27 -07:00 |
|
Seth Alves
|
5381e6e9bb
|
entity server has its own version of actions which simply remember the encoded arguments. Entities with actions don't experience simulateKinematicMotion
|
2015-06-19 16:20:07 -07:00 |
|
Seth Alves
|
85564199c6
|
git rid if pull-to-point action (spring handles this). add new action which tries to maintain an entity's distance from a given point
|
2015-06-17 11:22:10 -07:00 |
|
Seth Alves
|
eccf4eb8a8
|
hold action works
|
2015-06-10 17:05:49 -07:00 |
|
Seth Alves
|
3dcc6c9b8c
|
make action-factory interface and subclass it in Interface. this allows an action to use avatar data. the login the AvatarActionHold is still bogus.
|
2015-06-10 12:04:44 -07:00 |
|
Seth Alves
|
b1a209b9db
|
pull some common code out of subclasses and into ObjectAction
|
2015-06-09 16:17:48 -07:00 |
|
Seth Alves
|
b2db5f7fee
|
update grab.js to use pull-to-point action, various other fixes
|
2015-06-05 07:10:44 -07:00 |
|
Seth Alves
|
5e5bc497d9
|
remove debugging prints
|
2015-06-04 12:44:08 -07:00 |
|
Seth Alves
|
57d85cece0
|
get rid of simulation back-pointer in actions
|
2015-06-04 09:41:32 -07:00 |
|
Seth Alves
|
d634663bb1
|
simple action is working. destructor sequense is still suspicous
|
2015-06-03 17:33:55 -07:00 |
|
Seth Alves
|
c8ab22c517
|
hook up entity-scripting-interface to actions
|
2015-06-03 11:19:45 -07:00 |
|
Seth Alves
|
d6549948d0
|
first pass at entity interface to actions
|
2015-06-02 16:06:27 -07:00 |
|
Seth Alves
|
b24cd82b80
|
beginnings of ObjectAction class
|
2015-06-02 13:18:49 -07:00 |
|