Commit graph

19 commits

Author SHA1 Message Date
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