Merge pull request #13584 from zfox23/MS14743_anotherSnappyBandaid

MS14743 again: More bandaids for preventing Snappy printouts from falling thru floor
This commit is contained in:
Zach Fox 2018-07-11 14:08:13 -07:00 committed by GitHub
commit b036c7f437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -285,7 +285,7 @@ function printToPolaroid(image_url) {
var polaroid_url = image_url;
var model_pos = Vec3.sum(MyAvatar.position, Vec3.multiply(1.25, Quat.getForward(MyAvatar.orientation)));
model_pos.y += 0.2; // Print a bit closer to the head
model_pos.y += 0.39; // Print a bit closer to the head
var model_q1 = MyAvatar.orientation;
var model_q2 = Quat.angleAxis(90, Quat.getRight(model_q1));
@ -307,10 +307,8 @@ function printToPolaroid(image_url) {
"density": 200,
"restitution": 0.15,
"gravity": { "x": 0, "y": -2.5, "z": 0 },
"velocity": { "x": 0, "y": 1.95, "z": 0 },
"angularVelocity": Vec3.multiplyQbyV(MyAvatar.orientation, { "x": -1.0, "y": 0, "z": -1.3 }),
"gravity": { "x": 0, "y": -2.0, "z": 0 },
"damping": 0.45,
"dynamic": true,
"collisionsWillMove": true,