set more min/max/steps

This commit is contained in:
David Back 2018-11-14 15:44:30 -08:00
parent d8f5e0f708
commit dfed797682

View file

@ -1264,6 +1264,7 @@ const GROUPS = [
label: "Linear Velocity",
type: "vec3",
vec3Type: "xyz",
step: 0.1,
decimals: 4,
subLabels: [ "x", "y", "z" ],
unit: "m/s",
@ -1272,6 +1273,9 @@ const GROUPS = [
{
label: "Linear Damping",
type: "number",
min: 0,
max: 1,
step: 0.01,
decimals: 2,
propertyID: "damping",
},
@ -1326,6 +1330,7 @@ const GROUPS = [
type: "vec3",
vec3Type: "xyz",
subLabels: [ "x", "y", "z" ],
step: 0.1,
decimals: 4,
unit: "m/s<sup>2</sup>",
propertyID: "gravity",