mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
adjust gun dimensions in toybox master script
This commit is contained in:
parent
1ff5f11e29
commit
01044e3c05
1 changed files with 5 additions and 5 deletions
|
@ -98,7 +98,7 @@ function createAllToys() {
|
|||
function deleteAllToys() {
|
||||
var entities = Entities.findEntities(MyAvatar.position, 100);
|
||||
|
||||
entities.forEach(function (entity) {
|
||||
entities.forEach(function(entity) {
|
||||
//params: customKey, id, defaultValue
|
||||
var shouldReset = getEntityCustomData(resetKey, entity, {}).resetMe;
|
||||
if (shouldReset === true) {
|
||||
|
@ -468,9 +468,9 @@ function createPingPongBallGun() {
|
|||
z: 0
|
||||
},
|
||||
dimensions: {
|
||||
x: 0.67,
|
||||
y: 0.14,
|
||||
z: 0.09
|
||||
x: 0.08,
|
||||
y: 0.21,
|
||||
z: 0.47
|
||||
},
|
||||
collisionsWillMove: true,
|
||||
});
|
||||
|
@ -831,4 +831,4 @@ function cleanup() {
|
|||
if (shouldDeleteOnEndScript) {
|
||||
|
||||
Script.scriptEnding.connect(cleanup);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue