mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 08:14:48 +02:00
make ragdoll test honor lifetime from UI
This commit is contained in:
parent
45a50f9a46
commit
cc586b7c6d
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@
|
|||
|
||||
function ragdollTest(params) {
|
||||
var scale = 1.6;
|
||||
var lifetime = 120;
|
||||
var lifetime = params.lifetime;
|
||||
var pos = Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, {x: 0, y: 1.0, z: -2}));
|
||||
|
||||
var neckLength = scale * 0.05;
|
||||
|
|
Loading…
Reference in a new issue