Seth Alves
|
3746920655
|
allow action updates from others when we are the simulation owner
|
2015-11-13 13:56:30 -08: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
|
c6c44e8b81
|
add a userdata flag that allows toggling of the ignoreForCollisions entity property when an item is held.
|
2015-10-09 15:42:30 -07:00 |
|
Seth Alves
|
7f8411d947
|
reference count grabs on an entity
|
2015-10-05 14:15:38 -07:00 |
|
Seth Alves
|
880d92ee64
|
try to fix double-distance-grabbing lockout
|
2015-10-02 11:46:48 -07:00 |
|
James Pollack
|
dfab1fc685
|
Fix merge conflicts and lint the conflict code
|
2015-10-01 15:32:22 -07:00 |
|
Seth Alves
|
91965db5ab
|
increase action lifetime to be more forgiving of clock skew. remove code that makes avatar a ghost while holding something
|
2015-09-30 16:07:22 -07:00 |
|
Seth Alves
|
b417abc3de
|
try again on string startswith
|
2015-09-30 14:16:07 -07:00 |
|
Seth Alves
|
c27766facb
|
move string startswith to utils.js
|
2015-09-30 14:07:23 -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 |
|
James Pollack
|
26554c5ac3
|
whitespace
|
2015-09-29 13:13:50 -07:00 |
|
James Pollack
|
e615c62bd3
|
Prevent mouse grab from grabbing ungrabbable objects
|
2015-09-29 13:11:39 -07:00 |
|
Andrew Meadows
|
a444d6a2a2
|
remove hungarian notation
|
2015-07-15 13:19:59 -07:00 |
|
Andrew Meadows
|
69db9aa01a
|
fix grab transitions between vert and horiz planes
|
2015-07-14 09:24:37 -07:00 |
|
Andrew Meadows
|
a3c5ea1b58
|
Merge pull request #5088 from sethalves/actions
spring action with rotation and position target, rework grab script to use it
|
2015-06-11 13:23:57 -07:00 |
|
Andrew Meadows
|
f77f3f1e1e
|
fix bug where grab.js moves mouse to screen corner
when CTRL is pressed
|
2015-06-11 08:43:19 -07:00 |
|
Seth Alves
|
6cce845984
|
rotate based on initial mouse-position and initial entity rotation rather than doing small deltas as the mouse moves
|
2015-06-09 14:26:44 -07:00 |
|
Seth Alves
|
23dab530f9
|
fix some glitchy behavior during rotation
|
2015-06-09 14:11:01 -07:00 |
|
Seth Alves
|
ccb2f17b33
|
grab.js rotation sort-of works now
|
2015-06-09 11:21:13 -07:00 |
|
Seth Alves
|
2fb64aad91
|
fix variable name
|
2015-06-08 20:31:35 -07:00 |
|
Seth Alves
|
14a45e8349
|
convert grab.js to use spring action. rotation doesn't work right, yet
|
2015-06-08 18:25:58 -07:00 |
|
Andrew Meadows
|
ef1e3aae00
|
faster move and max solid angle for distant grabs
|
2015-06-08 16:59:33 -07:00 |
|
Andrew Meadows
|
ffeac220f9
|
fix typo in variable name
|
2015-06-08 16:40:50 -07:00 |
|
Andrew Meadows
|
e70cd9edd9
|
remove unused variable
|
2015-06-08 15:11:42 -07:00 |
|
Andrew Meadows
|
4647f84638
|
rewrite grab.js to follow mouse
|
2015-06-08 14:58:42 -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 |
|
Eric Levin
|
45331e5a0e
|
removed sounds from grab script
|
2015-06-01 09:37:54 -07:00 |
|
Philip Rosedale
|
cb0112e14e
|
remove line pointers from grab and hockey grab
|
2015-05-15 13:21:58 -07:00 |
|
Seth Alves
|
73fa1af24a
|
have grab.js do *accurate* picking!
|
2015-05-13 19:38:19 -07:00 |
|
Seth Alves
|
4a533748f4
|
Merge pull request #4848 from PhilipRosedale/master
update position and rotation from the script, even though we should not have to
|
2015-05-12 16:13:29 -07:00 |
|
Philip Rosedale
|
11ab97e0fc
|
update position and rotation from the script, even though we should not have to.
|
2015-05-12 13:11:11 -07:00 |
|
Seth Alves
|
7a85bfa0d1
|
fix up grab.js to use line entity
|
2015-05-12 11:36:05 -07:00 |
|
Seth Alves
|
38caed00ca
|
Attempt to draw line entity item
|
2015-05-12 10:25:50 -07:00 |
|
Seth Alves
|
237eb72bec
|
if two people grab an enitity at once, don't forget about the original gravity
|
2015-05-11 16:01:50 -07:00 |
|
Seth Alves
|
8da3490a4c
|
when grabbing an entity, zero out its gravity.
|
2015-05-10 09:32:03 -07:00 |
|
Philip Rosedale
|
d40e4b7218
|
don't apply changes to velocity unless needed
|
2015-05-08 14:05:32 -07:00 |
|
Philip Rosedale
|
32dbbbdc8f
|
normalize a vector that needed it. Correct rolloff of grab force
|
2015-05-07 21:44:09 -07:00 |
|
Eric Levin
|
39efde7e8c
|
added rotation ability to grab script
|
2015-05-04 18:14:46 -07:00 |
|
Philip Rosedale
|
7e7500eaad
|
fix for coding standard
|
2015-05-04 15:57:21 -07:00 |
|
Philip Rosedale
|
475dad6863
|
Add limit to grab range to reduce max energy added by grabbing
|
2015-05-02 16:25:48 -07:00 |
|
Eric Levin
|
cac5fa1371
|
refactored grab script using velocity and spring force
|
2015-05-01 09:39:39 -07:00 |
|
Eric Levin
|
4c80633a41
|
fixed bug where non-script related content would be deleted on script ending
|
2015-04-30 16:42:32 -07:00 |
|
Eric Levin
|
a9c5f044c8
|
changed grab script so user can only grab with left mouse click and we update velocityof grabbed object every frame instead of flinging it onb release
|
2015-04-30 11:39:27 -07:00 |
|
Eric Levin
|
45ba678686
|
can now fling up and down as well as in xz plane
|
2015-04-29 23:40:53 -07:00 |
|
Eric Levin
|
2b9ec8b6bf
|
fixed bug in grab.js where drop line overlay was not showing in correct position on first grab
|
2015-04-29 22:13:26 -07:00 |
|
Eric Levin
|
8b9236a18d
|
added grab.js script, which allows users to grab and fling physical objects
|
2015-04-29 09:44:22 -07:00 |
|