Changeset 1261 for cpp/frams/genetics/fH/fH_general.cpp
- Timestamp:
- 06/22/23 17:25:06 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fH/fH_general.cpp
r1257 r1261 18 18 const char *fH_part_names[FH_PART_PROPS_COUNT] = { "fr" }; // , "dn", "ing", "as" }; 19 19 20 const char *fH_joint_names[FH_JOINT_PROPS_COUNT] = { " stif", "rotstif" }; //, "stam" };20 const char *fH_joint_names[FH_JOINT_PROPS_COUNT] = { "rotstif" }; //"stif", "stam" }; //actually we would want to disable "rotstif" too (we assume the default value is the best, lower values are good to test technical abilities of phenotypes, but in most cases not useful for evolution - the structures and muscles get weaker and even more elastic), but having no joint properties was never tested, so better leave at least one 21 21 22 22 void fH_Handle::loadProperties(Param par) … … 397 397 model->addJoint(newjoint); 398 398 399 newjoint->stif = par.getDoubleById("stif");400 399 newjoint->rotstif = par.getDoubleById("rotstif"); 400 //newjoint->stif = par.getDoubleById("stif"); 401 401 //newjoint->stamina = par.getDoubleById("stam"); 402 402 newjoint->attachToParts(firstpart, secondpart);
Note: See TracChangeset
for help on using the changeset viewer.