For now, the customizable parameters are TinkerbotsAxle.length (actually not implemented), TinkerbotsCubiePyramid.color and TinkerbotsCubieTriangle.color. In Webots, they are all string enumerations, and affects the Shape (color or shape).
In the contrary of translation or rotation where the THREEjs <-> Webots link is direct, this kind of links should be coded somewhere. For now it's hard-coded here: https://github.com/omichel/robot-designer/blob/master/app/view/mediator/part_mediator.js#L78
To solve this, we should either provide a generic way to write these links, or to have several x3d files (e.g. one x3d file per parameter set).
For now, the customizable parameters are
TinkerbotsAxle.length(actually not implemented),TinkerbotsCubiePyramid.colorandTinkerbotsCubieTriangle.color. In Webots, they are all string enumerations, and affects the Shape (color or shape).In the contrary of
translationorrotationwhere the THREEjs <-> Webots link is direct, this kind of links should be coded somewhere. For now it's hard-coded here: https://github.com/omichel/robot-designer/blob/master/app/view/mediator/part_mediator.js#L78To solve this, we should either provide a generic way to write these links, or to have several x3d files (e.g. one x3d file per parameter set).