mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 23:12:36 +02:00
MS14743 again: More bandaids for preventing Snappy printouts from falling thru floor
This commit is contained in:
parent
9729457222
commit
6218f80387
1 changed files with 2 additions and 5 deletions
|
@ -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,7 @@ 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 },
|
||||
|
||||
"dynamic": true,
|
||||
"collisionsWillMove": true,
|
||||
|
|
Loading…
Reference in a new issue