Range: modifiers/compound types clarification
I have checked the new range documentation from !393
speed([10kph..25kph])
modifier is equivalent to applying keep(speed in [10kph..25kph])
inside the modifier/compound type.
What I want to make sure:
- is this
speed
constant as long as we're executing thedrive()
action it's associated to (i.e. 13kph is chosen and it doesn't change). - Or does it allow car to have any speed between 10kph and 25kph during that
drive()
, for example accelerating from 15kph to 20kph?
I ask because speed
is technically a parameter, not a variable (keyword var
), so it's supposedly constant for that specific drive
action (option 1) according to the specification.
But I remember seeing some examples where speed([10kph..25kph])
seems to imply that the car can change speed as long as it's within this range (option 2).
If it's really option 2, I think it might be good to add var
to all of those in standard.osc, and/or specify that all modifier parameters should be considered as variables var
.