Here: morphemebf.zip
Chris, I think with all the merging and stuff, I lost your movement speed control. Could you reset it up? Currently in the movement method of Animals I’ve got:
// structure.movementSpeed = velocity/float(maxSpeed);
could you untab that and make that work? All that matters is that it’s equal to velocity/float(maxSpeed); which will give us a range between 0 (slow), and 1 (fast).
Anyway, I’ll be in in an hour or so.. but it’d be best of someone kept working on the code till then.. cause a lot needs to be done.
Igor, you can now create batches of creatures. Atm it chucks 10 at a time in for you. Change this value with int speciesSpawn = 10; All 10 creatures will have the exact same structure.
Also, when kids are created, they check to see if they have the same structure as their parents (or at least the same letter order). If they do, they adopt the structure of their parents. Though I haven’t had time to test this. Chris, I’ll have to ask you about it when I get in.
Also, I reallly think we should try make the physics system within the creature class. I reckon we might be able to pull it off with just 1 computer if we do. Atm, whenever a new baby is being trained, the physics system has to unecessarily go through and update every single other particle of every other animal. Quite expensive for sure.
Anyway, I’ll be calling one of you soon to find out where I’m meant to go. Cya soon 😀
