sensitivity for gui

beta.r3js.org
-=yb4f310 2017-09-29 07:00:37 +02:00
parent fd2520a086
commit 47479ffea2
1 changed files with 5 additions and 1 deletions

View File

@ -1127,7 +1127,11 @@ GameLib.System.GUI.prototype.buildControl = function(folder, componentTemplate,
property === 'mass'
) {
controllers.push(folder.add(object, property, 0, 1000, 0.1));
} else if (
} else if (
property === 'sensitivity'
) {
controllers.push(folder.add(object, property, 1, 50, 1));
} else if (
property === 'thetaLength' ||
property === 'angle'
) {