Anyone can give some ideas/clues on how to create unicycle with box2d or even better using RUBE?
Thanks!
unicycle
Re: unicycle
I think you'll have to give a bit more info about what you want. The simplest way would be a fixed rotation body attached to a circle with a wheel or revolute joint, like attached. But I guess you are talking about something more complicated, maybe you want a non-fixed-rotation body and to control the balance with AI or something?
- Attachments
-
- unicycleFixedRotationBody.rube
- (4.71 KiB) Downloaded 763 times
Re: unicycle
Thanks for the fixed rotation sample! It got me started. I am looking for something non-fixed rotation body so the balance can be control like you suggested.
Thanks again!
Thanks again!
Re: unicycle
How would you do non-fixed-rotation body? or what joint would you recommend?
Re: unicycle
You could try applying a torque to the upper body to correct the orientation. These links might help:
http://www.iforce2d.net/b2dtut/rotate-to-angle
http://www.box2d.org/forum/viewtopic.php?f=3&t=1243
http://www.iforce2d.net/b2dtut/rotate-to-angle
http://www.box2d.org/forum/viewtopic.php?f=3&t=1243