world also
parent
cea919a55d
commit
42de37c1dc
|
@ -146,6 +146,8 @@ GameLib.Component.COMPONENT_CONTROLS = 0x30;
|
|||
GameLib.Component.COMPONENT_CONTROLS_EDITOR = 0x31;
|
||||
GameLib.Component.COMPONENT_CONTROLS_FLY = 0x32;
|
||||
GameLib.Component.COMPONENT_FRICTION_MATERIAL = 0x33;
|
||||
GameLib.Component.COMPONENT_FRICTION_CONTACT_MATERIAL = 0x34;
|
||||
|
||||
|
||||
/**
|
||||
* Returns string name for component number
|
||||
|
@ -206,6 +208,7 @@ GameLib.Component.GetComponentName = function(number) {
|
|||
case 0x31 : return 'GameLib.D3.Controls.Editor';
|
||||
case 0x32 : return 'GameLib.D3.Controls.Fly';
|
||||
case 0x33 : return 'GameLib.D3.FrictionMaterial';
|
||||
case 0x34 : return 'GameLib.D3.FrictionContactMaterial';
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -951,6 +951,11 @@ GameLib.System.GUI.prototype.buildControl = function(folder, componentTemplate,
|
|||
property === 'aspect'
|
||||
) {
|
||||
controllers.push(folder.add(object, property, 0, 5, 0.001));
|
||||
} else if (
|
||||
property === 'heightMapScale' ||
|
||||
property === 'intensity'
|
||||
) {
|
||||
controllers.push(folder.add(object, property, 0, 10, 0.001));
|
||||
} else if (
|
||||
property === 'widthSegments' ||
|
||||
property === 'heightSegments'
|
||||
|
|
Loading…
Reference in New Issue