src/FDM/YASim/YASim.cxx: add gear[]/spring and gear[]/damping properties.
This commit is contained in:
parent
26695b448c
commit
5fb8c39057
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ void YASim::init()
|
||||||
node->setDoubleValue("wheel-radius-m", g->getWheelRadius());
|
node->setDoubleValue("wheel-radius-m", g->getWheelRadius());
|
||||||
node->setDoubleValue("tyre-radius-m", g->getTyreRadius());
|
node->setDoubleValue("tyre-radius-m", g->getTyreRadius());
|
||||||
|
|
||||||
|
node->setDoubleValue("spring", g->getSpring());
|
||||||
|
node->setDoubleValue("damping", g->getDamping());
|
||||||
|
|
||||||
_gearProps.push_back(GearProps(node));
|
_gearProps.push_back(GearProps(node));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue