I was going to use some machine learning and let the guy just teach himself how to walk. I found an article about using "stability" as a reward, and it learns as it tries to walk, without needing separate trials (no twitching?). Takes only about 20 minutes to get a nice walk going apparently... but thats for physical robots, with fewer joints.. which I'd suspect would make my problem easier since the "sensing" is perfect. The article is a little over my head though 🙂
I thought of a little cheat though. You can prevent the pelvis from rotating, which makes the biped pretty much impossible to knock over, while still providing a lot of freedom. I think if we do it right, players wont even notice. You can simply re-enable rotation if the character dies, or if you need to knock him over for whatever reason...
Without cheating, I got him to take a single step 🙂 I was so proud I finally got him stepping forward instead of toppling over backwards... its really ridiculous how many factors are involved when walking, I never even thought about it before. You need just the write amount of 'tension' or torque in each of the joints and you have to move them at just the right speed... and I'm sure if any obstacles came up you'd just be screwed.
Anyway, I'll look at these articles later. Thanks for the input guys! That spider man biped is crazy!
I thought of a little cheat though. You can prevent the pelvis from rotating, which makes the biped pretty much impossible to knock over, while still providing a lot of freedom. I think if we do it right, players wont even notice. You can simply re-enable rotation if the character dies, or if you need to knock him over for whatever reason...
Without cheating, I got him to take a single step 🙂 I was so proud I finally got him stepping forward instead of toppling over backwards... its really ridiculous how many factors are involved when walking, I never even thought about it before. You need just the write amount of 'tension' or torque in each of the joints and you have to move them at just the right speed... and I'm sure if any obstacles came up you'd just be screwed.
Anyway, I'll look at these articles later. Thanks for the input guys! That spider man biped is crazy!