Game Development Community

ODEScript... Juggling

by Gary "ChunkyKs" Briggs · 05/10/2007 (9:38 pm) · 9 comments

On my TODO list for a while, in ODEScript, has been a sort of playground demo. Doors on hinges, random blocks and balls and stuff, all in a nice tidy constricted environment for use as a neat demo of ODEScript.

The other day, I finally got my grubby mitts on a Wii, and on the recommendation of several friends, picked up Elebits. Those of you who've played this game will undoubtedly know where I'm going with these couple paragraphs.

If you take Elebits, and take out... well, take out the Elebits, you have *exactly* what I was envisaging my little demo would be. Not kinda-sorta what I was planning... it's specifically what I had in mind. This is a sign that either I should move onto my bigger aspirations for ODEScript, or get round to making TGWii [/a la/ Rob Terrel] work for me.


OR, I could pull out my old staple, JuggleMaster [Which you may have seen before], and go into some sort of juggling physics coding frenzy.

I was presumably looking at a writing couple thousand lines of code, while doing a Physics Playground would be hours and hours of doing art. And I suck pretty bad at art. The decision was made.

438 lines of source later, I had implemented JuggleMaster in Torque [third time's a charm...]. Using the same trick as I used for the Kork Chain, and setting JuggleMaster to move the hands but none of the rest of the body...

Well, watch it and see:
www.youtube.com/watch?v=PEe55nibKHA
chunky.megastep.org/torque/JugglingFiveIK.png
A long time ago, the now-infamous John Seguin, (seguinsound.com), made me a short piece of music for use in a JuggleMaster Demo; back then, I was focussing on T2D+TorqueScript as a development platform. Since then, ODEScript has evolved a lot, and I finally have a ODEScript+JuggleMaster demo I'm happy to put it on. So here it is, another snippet of fabulous work from John Seguin.

Gary (-;

#1
05/10/2007 (10:56 pm)
why do you have to keep doing awesome things that everyone wants to use? why?
#2
05/11/2007 (12:21 am)
Wow! Great work Gary!!
#3
05/11/2007 (4:14 am)
Looks amazing Gary!

Why the objects looks like in slow-motion ?
#4
05/11/2007 (4:26 am)
Gary, let's get one of your ODEScript demos integrated with TGWii. Shoot me an email sometime.
#5
05/11/2007 (10:40 am)
@Gustavo; the objects are being animated by JuggleMaster. I could speed it up, but then it becomes less clear what's actually going on... I should probably actually fix JuggleMaster's speed controls; it's been on the jugglemaster TODO for something like four years, now.

@Rob; Mail sent

@Anton; I just updated the resource here. All the ODEScript code is available. :-)

Gary (-;
#6
05/11/2007 (5:00 pm)
Most excellent. I hope to someday be at a point where i will need to use it.
#7
05/12/2007 (1:54 am)
Thats is so damn cool.
#8
05/12/2007 (2:20 am)
Thats really cool! Love the music as well, it's really catchy!!
#9
05/14/2007 (8:12 am)
@Tom:
Thanks! ;) Gary -- this was DEFINITELY a long time ago -- I had even forgotten about that tune! I actually thought it would be the one with the oom-pah band for the original "juggling". :)